drastically simplified logger code now supports logging to file and syslog
[OpenSRF.git] / examples / bootstrap.conf.example
1 # ----------------------------------------------------------
2 # bootstrap config file
3 # ----------------------------------------------------------
4 [bootstrap]
5
6 # location of the opensrf.xml config file
7 settings_config = /path/to/opensrf.xml
8
9 # log files directory
10 log_dir                         = /path/to/log
11
12 ## Log file is either a file name or syslog:<facility> 
13 #logfile                                = osrfysys.log
14 logfile                         = syslog:local0
15
16 # defines the syslog facility for the activity log
17 actlog                          = local1
18
19 # log level
20 debug                                   = ERROR
21 #debug                          = INFO
22 #debug                          = DEBUG
23 #debug                          = INTERNAL
24
25 # the jabber login of the router (changing this will likely cause problems)
26 router_name                     = router
27
28 # all jabber domains we want our app to connect to
29 list:domains            = router1.domain.com, router2.domain.com
30
31 # jabber login
32 username                                = jabber_username
33
34 # jabber password
35 passwd                          = jabber_password
36
37 # if port is non-numeric (e.g. /tmp/mysock.sock) then we will attempt to
38 # connect to the specified string as a unix socket file 
39 # This works with Chop Chop jabber only (opensrf custom jabber server)
40 port                                    = 5222
41
42 # --------------------------------------
43
44 # log file names
45 [logs]
46 debug                                   = debug.log
47 error                                   = error.log
48 transport                       = transport.log
49 message                         = message.log
50 method                          = method.log
51 trace                                   = trace.log
52 opac                                    = opac.log
53
54