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
42416209
Commit
42416209
authored
Mar 08, 2001
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge from 2.3
parent
6da1e1f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
doc/LOGGING.txt
doc/LOGGING.txt
+3
-3
lib/python/ZLogger/syslogLogger.py
lib/python/ZLogger/syslogLogger.py
+1
-1
No files found.
doc/LOGGING.txt
View file @
42416209
...
...
@@ -21,11 +21,11 @@ Zope Logging
It is not very smart about it - it just dumps it to a file and the
format is not very configurable - hence the name.
ZSYSLOG="
anythin
g"
ZSYSLOG="
/dev/lo
g"
Setting this environment variable will cause Zope to try and write
to the
'/dev/log' UNIX domain socket. This will only work on UNIX,
and only if your syslogd domain socket is named /dev/log
.
to the
named UNIX domain socket (usually '/dev/log'). This will only
work on UNIX
.
ZSYSLOG_SERVER="machine.name:port"
...
...
lib/python/ZLogger/syslogLogger.py
View file @
42416209
...
...
@@ -99,7 +99,7 @@ class syslogLogger:
self
.
client
=
syslog_client
((
addr
,
int
(
port
)))
self
.
on
=
1
elif
os
.
environ
.
has_key
(
'ZSYSLOG'
):
self
.
client
=
syslog_client
()
self
.
client
=
syslog_client
(
os
.
environ
[
'ZSYSLOG'
]
)
self
.
on
=
1
else
:
self
.
on
=
0
...
...
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