[Rt-commit] r4808 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Thu Mar 23 16:40:29 EST 2006
Author: ruz
Date: Thu Mar 23 16:40:28 2006
New Revision: 4808
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/etc/RT_Config.pm.in
Log:
r2188 at cubic-pc: cubic | 2006-03-24 00:47:34 +0300
* add description of the LogToFile feature and its drawbacks in multiuser
evironment
Modified: rt/branches/3.7-EXPERIMENTAL/etc/RT_Config.pm.in
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/etc/RT_Config.pm.in (original)
+++ rt/branches/3.7-EXPERIMENTAL/etc/RT_Config.pm.in Thu Mar 23 16:40:28 2006
@@ -302,12 +302,19 @@
# Mail loops will generate a critical log message.
Set($LogToSyslog , 'debug');
Set($LogToScreen , 'error');
+
+# Logging to standalone file is also possible, but NOTE that the file
+# should exist and be writable by all direct users of the RT API, this
+# is web server, rt-crontool and other, but not rt-mailgate or RT CLI
+# which use web server. If you expect to have multiple users of the
+# direct API, Best Practical recommends syslog instead of direct file logging.
+
Set($LogToFile , undef);
Set($LogDir, '@RT_LOG_PATH@');
Set($LogToFileNamed , "rt.log"); #log to rt.log
-# If true generates stack traces to file log or screen
-# never generates traces to syslog
+# If true generates stack traces to the log file or screen, but
+# never generates traces to the syslog
Set($LogStackTraces , 0);
More information about the Rt-commit
mailing list