Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mitogen
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
mitogen
Commits
b827ee1b
Commit
b827ee1b
authored
Sep 21, 2017
by
David Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete mitogen.utils.log_to_tmp()
parent
400c971f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
mitogen/utils.py
mitogen/utils.py
+0
-5
No files found.
mitogen/utils.py
View file @
b827ee1b
...
...
@@ -22,11 +22,6 @@ def disable_site_packages():
sys
.
path
.
remove
(
entry
)
def
log_to_tmp
():
import
os
log_to_file
(
path
=
'/tmp/mitogen.%s.log'
%
(
os
.
getpid
(),))
def
log_to_file
(
path
=
None
,
io
=
True
,
level
=
'INFO'
):
"""Install a new :py:class:`logging.Handler` writing applications logs to
the filesystem. Useful when debugging slave IO problems."""
...
...
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