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
64ece5d3
Commit
64ece5d3
authored
Apr 25, 2000
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved logging options before Zope module import.
parent
4461148e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
z2.py
z2.py
+5
-5
No files found.
z2.py
View file @
64ece5d3
...
...
@@ -516,6 +516,11 @@ if Zpid and not READ_ONLY:
import
zLOG
import
ZLogger
if
READ_ONLY
:
zLOG
.
_stupid_dest
=
sys
.
stderr
else
:
zLOG
.
log_write
=
ZLogger
.
ZLogger
.
log_write
if
DETAILED_LOG_FILE
:
from
ZServer
import
DebugLogger
logfile
=
os
.
path
.
join
(
INSTANCE_HOME
,
'var'
,
DETAILED_LOG_FILE
)
...
...
@@ -524,11 +529,6 @@ if DETAILED_LOG_FILE:
# Import Zope (or Main), and thus get SOFTWARE_HOME and INSTANCE_HOME
exec
"import "
+
MODULE
in
{}
if
READ_ONLY
:
zLOG
.
_stupid_dest
=
sys
.
stderr
else
:
zLOG
.
log_write
=
ZLogger
.
ZLogger
.
log_write
# Location of the ZServer log file. This file logs all ZServer activity.
# You may wish to create different logs for different servers. See
...
...
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