[Zope-Checkins] CVS: Zope/doc - CHANGES.txt:1.503 ENVIRONMENT.txt:1.14 LOGGING.txt:1.9
Chris McDonough
chrism@zope.com
Wed, 3 Jul 2002 22:32:23 -0400
Update of /cvs-repository/Zope/doc
In directory cvs.zope.org:/tmp/cvs-serv17236/doc
Modified Files:
CHANGES.txt ENVIRONMENT.txt LOGGING.txt
Log Message:
- The default "start" script now causes the event log to be sent to
standard output unless the "EVENT_LOG_FILE" or "STUPID_LOG_FILE"
environment variable is set.
- The much-hated name "STUPID_LOG_FILE" now has a preferred
alias: "EVENT_LOG_FILE".
=== Zope/doc/CHANGES.txt 1.502 => 1.503 ===
Bugs Fixed
+ - The default "start" script now causes the event log to be sent to
+ standard output unless the "EVENT_LOG_FILE" or "STUPID_LOG_FILE"
+ environment variable is found in the environment.
+
+ - The much-hated name "STUPID_LOG_FILE" now has a preferred
+ alias: "EVENT_LOG_FILE".
+
- Collector 454: The "default" session_data transient object
container was not created if an object named "session_data"
existed in the root.
=== Zope/doc/ENVIRONMENT.txt 1.13 => 1.14 ===
when the ClientStorage shuts down.
-
-
Debugging and Logging
- STUPID_LOG_FORMAT
+ EVENT_LOG_FORMAT or STUPID_LOG_FORMAT
Set this variable if you like to customize the output format of
- Zope stupid logger.
+ Zope event logger. EVENT_LOG_FORMAT is the preferred envvar
+ but STUPID_LOG_FORMAT also works.
- STUPID_LOG_FILE="path"
+ EVENT_LOG_FILE="path" or STUPID_LOG_FILE="path"
- The stupid file logger writes Zope logging information to a file.
+ The event file logger writes Zope logging information to a file.
It is not very smart about it - it just dumps it to a file and the
- format is not very configurable - hence the name.
+ format is not very configurable - hence the name STUPID_LOG_FILE.
+ EVENT_LOG_FILE is the preferred envvar but STUPID_LOG_FILE
+ also works.
See also: LOGGING.txt
- STUPID_LOG_SEVERITY <number>
-
- If set, Zope logs only messages whose severity is level
- is higher than the specified one.
+ EVENT_LOG_SEVERITY <number> or STUPID_LOG_SEVERITY <number>
+ If set, Zope logs only messages whose severity is level is
+ higher than the specified one. EVENT_LOG_SEVERITY is the
+ preferred envvar but STUPID_LOG_SEVERITY also works.
ZSYSLOG="/dev/log"
=== Zope/doc/LOGGING.txt 1.8 => 1.9 ===
$ python2.1 z2.py ZSYSLOG_SERVER="syslog.mydomain.com:514" \
- STUPID_LOG_FILE="var/Zope.log"
+ EVENT_LOG_FILE="var/Zope.log"
Currently, the following environment variables can be set:
- STUPID_LOG_FILE="path"
+ EVENT_LOG_FILE="path"
- The stupid file logger writes Zope logging information to a file.
+ The event file logger writes Zope logging information to a file.
It is not very smart about it - it just dumps it to a file and the
format is not very configurable - hence the name.