Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
f914a525
Commit
f914a525
authored
Mar 11, 2002
by
Toby Dickenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merged from toby-syslog-access-branch
parent
387f0b8b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
doc/ENVIRONMENT.txt
doc/ENVIRONMENT.txt
+9
-2
doc/LOGGING.txt
doc/LOGGING.txt
+9
-0
No files found.
doc/ENVIRONMENT.txt
View file @
f914a525
...
...
@@ -100,8 +100,8 @@ Debugging and Logging
ZSYSLOG="/dev/log"
Setting this environment variable will cause Zope to try and write
t
o the named UNIX domain socket (usually '/dev/log'). This will
only work on UNIX.
t
he event log to the named UNIX domain socket (usually '/dev/log').
This will
only work on UNIX.
See also: LOGGING.txt
...
...
@@ -126,6 +126,13 @@ Debugging and Logging
See also: LOGGING.txt
ZSYSLOG_ACCESS="/dev/log"
ZSYSLOG_ACCESS_FACILITY="facilityname"
ZSYSLOG_ACCESS_SERVER="machine.name:port"
Like ZSYSLOG, ZSYSLOG_FACILITY, and ZSYSLOG_SERVER, but
controlling the sending of access information to syslog
(rather than controlling the sending of the event log)
Z_DEBUG_MODE "yes" or "no"
BOBO_DEBUG_MODE "yes" or "no" (obsolete)
...
...
doc/LOGGING.txt
View file @
f914a525
...
...
@@ -27,6 +27,10 @@ Zope Logging
to the named UNIX domain socket (usually '/dev/log'). This will only
work on UNIX.
(In versions up to Zope 2.6, this also caused the access log
to be sent to syslog. In version 2.6 this is now controlled
by the separate ZSYSLOG_ACCESS environment variable)
ZSYSLOG_FACILITY="facilityname"
Setting this environment variable will cause Zope to use the
...
...
@@ -42,6 +46,11 @@ Zope Logging
but Zope does not pick a sane default, you must specify a port.
This may change, so check back here in future Zope releases.
(In versions up to Zope 2.6, this also caused the access log
to be sent to syslog. In version 2.6 this is now controlled
by the separate ZSYSLOG_ACCESS_SERVER environment variable)
Calling the logger in your code
If you want your own Zope extensions to use logging:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment