Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
7f6faf06
Commit
7f6faf06
authored
Jul 30, 2001
by
Shane Hathaway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Used _set_stupid_dest function instead of poking at zLOG when possible.
parent
6220219a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/ZEO/start.py
src/ZEO/start.py
+5
-2
No files found.
src/ZEO/start.py
View file @
7f6faf06
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
"""Start the server storage.
"""Start the server storage.
"""
"""
__version__
=
"$Revision: 1.2
4
$"
[
11
:
-
2
]
__version__
=
"$Revision: 1.2
5
$"
[
11
:
-
2
]
import
sys
,
os
,
getopt
,
string
import
sys
,
os
,
getopt
,
string
...
@@ -335,7 +335,10 @@ def rotate_logs():
...
@@ -335,7 +335,10 @@ def rotate_logs():
zLOG
.
log_write
.
reinitialize
()
zLOG
.
log_write
.
reinitialize
()
else
:
else
:
# Hm, lets at least try to take care of the stupid logger:
# Hm, lets at least try to take care of the stupid logger:
zLOG
.
_stupid_dest
=
None
if
hasattr
(
zLOG
,
'_set_stupid_dest'
):
zLOG
.
_set_stupid_dest
(
None
)
else
:
zLOG
.
_stupid_dest
=
None
def
rotate_logs_handler
(
signum
,
frame
):
def
rotate_logs_handler
(
signum
,
frame
):
rotate_logs
()
rotate_logs
()
...
...
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