[omd-commits] OMD Git: omd: mod-gearman: changed default logger

git version control git at mathias-kettner.de
Thu Apr 21 22:31:46 CEST 2011


Module:   omd
Branch:   master
Commit:   0476cc25eb019039eec04900b8d750350f029357
URL:      http://omdistro.org/projects/omd/repository/revisions/0476cc25eb019039eec04900b8d750350f029357

Author:   Sven Nierlein <sven at nierlein.de>
Date:     Thu Apr 21 22:31:25 2011 +0200
Commiter: Sven Nierlein <sven at nierlein.de>
Date:     Thu Apr 21 22:31:25 2011 +0200

mod-gearman: changed default logger

---

 .../mod-gearman/skel/etc/mod-gearman/server.cfg    |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/packages/mod-gearman/skel/etc/mod-gearman/server.cfg b/packages/mod-gearman/skel/etc/mod-gearman/server.cfg
index 6d51fbf..2303873 100644
--- a/packages/mod-gearman/skel/etc/mod-gearman/server.cfg
+++ b/packages/mod-gearman/skel/etc/mod-gearman/server.cfg
@@ -17,6 +17,23 @@
 # Default is 0.
 debug=0
 
+# set the way of logging
+# Possible values are:
+#     automatic
+#          -> logfile when a logfile is specified
+#          -> stdout for tools
+#     file
+#          -> use logfile
+#     stdout
+#           -> just print all messages to stdout
+#     core
+#           -> use nagios internal loging (not thread safe! Use with care)
+#     syslog
+#           -> use syslog for all log events
+logmode=automatic
+
+# Path to the logfile.
+logfile=###ROOT###/var/log/gearman/neb.log
 
 # server address is set by "omd config"
 # please change port only by using the "omd config" command.



More information about the omd-commits mailing list