2 # User name to use for database access
4 # Set to 1 for debug messages in /tmp/lx-office-debug.log
6 # Chose a system user the daemon should run under when started as root.
10 # The user name a report about the posted and printed invoices is sent
13 # The "From:" header for said email.
14 email_from = Lx-Office Daemon <root@localhost>
15 # The subject for said email.
16 email_subject = Benachrichtigung: automatisch erstellte Rechnungen
17 # The template file used for the email's body.
18 email_template = templates/webpages/oe/periodic_invoices_email.txt
21 # autologin to use if none is given
24 # autorun lines will be executed after autologin.
25 # be warned that loading huge libraries will noticably lengthen startup time.
26 autorun = require "bin/mozilla/common.pl";
27 = use English qw(-no_match_vars);
28 = use List::Util qw(min max);
29 = use Sort::Naturally;
30 = my ($a, $b, $e, $f, @a1, @a2, %h);
31 = sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; }
33 # location of history file for permanent history
34 history_file = users/console_history
37 # Use DBIx::Log4perl for logging DBI calls. The string LXDEBUGFILE
38 # will be replaced by the file name configured for $::lxdebug.
40 dbix_log4perl_config = log4perl.logger = FATAL, LOGFILE
41 = log4perl.appender.LOGFILE=Log::Log4perl::Appender::File
42 = log4perl.appender.LOGFILE.filename=LXDEBUGFILE
43 = log4perl.appender.LOGFILE.mode=append
44 = log4perl.appender.LOGFILE.Threshold = ERROR
45 = log4perl.appender.LOGFILE.layout=PatternLayout
46 = log4perl.appender.LOGFILE.layout.ConversionPattern=[%r] %F %L %c - %m%n
47 = log4perl.logger.DBIx.Log4perl=DEBUG, A1
48 = log4perl.appender.A1=Log::Log4perl::Appender::File
49 = log4perl.appender.A1.filename=LXDEBUGFILE
50 = log4perl.appender.A1.mode=append
51 = log4perl.appender.A1.layout=Log::Log4perl::Layout::PatternLayout
52 = log4perl.appender.A1.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n
54 # Activate certain global debug messages. If you want to combine
55 # several options then list them seperated by spaces.
57 # Possible values include:
58 # NONE - no debug output (default)
62 # QUERY - Dump SQL queries (only in legacy code; see also "dbix_log4perl" above)
63 # TRACE - Track function calls and returns
64 # BACKTRACE_ON_ERROR - Print a function call backtrace when $form->error() is called
65 # REQUEST_TIMER - Log timing of HTTP requests
67 # ALL - all possible debug messages
69 # DEVEL - sames as "INFO QUERY TRACE BACKTRACE_ON_ERROR REQUEST_TIMER"
72 # global_level = TRACE QUERY
75 # Activate monitoring of the content of $form. If it is active then
76 # monitoring can be turned on for certain variables with the
78 # $form->{"Watchdog::<variable>"} = 1;
79 # Monitoring has a performance cost and is therefore deactivated by
83 # If you want to debug the creation of LaTeX files then set this to 1.
84 # That way the temporary LaTeX files created during PDF creation are
85 # not removed and remain in the "users" directory.
88 # The file name where the debug messages are written to.
89 file_name = /tmp/lx-office-debug.log