added some more index sanity checks. added const qualifier where necessary
[OpenSRF.git] / examples / bootstrap.conf.example
index ae6fa25..ce445f7 100644 (file)
@@ -3,29 +3,42 @@
 # ----------------------------------------------------------
 [bootstrap]
 
+# location of the opensrf.xml config file
 settings_config        = /path/to/opensrf.xml
+
+# log files directory
 log_dir                                = /path/to/log
 
+## Log file is either a file name or syslog:<facility> 
+#logfile                               = osrfysys.log
+logfile                                = syslog:local0
+
+# defines the syslog facility for the activity log
+#actlog                                = activity.log
+actlog                         = syslog:local1
+
+# log level
 debug                                  = ERROR
 #debug                         = INFO
 #debug                         = DEBUG
 #debug                         = INTERNAL
 
+# the jabber login of the router (changing this will likely cause problems)
 router_name                    = router
+
+# all jabber domains we want our app to connect to
 list:domains           = router1.domain.com, router2.domain.com
+
+# jabber login
 username                               = jabber_username
+
+# jabber password
 passwd                         = jabber_password
+
+# if port is non-numeric (e.g. /tmp/mysock.sock) then we will attempt to
+# connect to the specified string as a unix socket file 
+# This works with Chop Chop jabber only (opensrf custom jabber server)
 port                                   = 5222
 
 # --------------------------------------
 
-[logs]
-debug                                  = debug.log
-error                                  = error.log
-transport                      = transport.log
-message                                = message.log
-method                         = method.log
-trace                                  = trace.log
-opac                                   = opac.log
-
-