Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cc-node
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
cc-node
Commits
fdd57e9f
Commit
fdd57e9f
authored
12 years ago
by
Anael Beutot
Browse files
Options
Downloads
Patches
Plain Diff
Debug logging in stderr.
parent
8b03e6e0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cloudcontrol/node/config.py
+12
-12
12 additions, 12 deletions
cloudcontrol/node/config.py
with
12 additions
and
12 deletions
cloudcontrol/node/config.py
+
12
−
12
View file @
fdd57e9f
...
...
@@ -48,16 +48,16 @@ def configure_logging(level):
keys=root,ccnode,sjrpc
[handlers]
keys=syslog
#
keys=consoleHandler
#
keys=syslog
keys=consoleHandler
[formatters]
keys=simpleFormatter
[logger_root]
level=ERROR
handlers=syslog
#
handlers=consoleHandler
#
handlers=syslog
handlers=consoleHandler
[logger_ccnode]
level=%s
...
...
@@ -69,15 +69,15 @@ level=ERROR
handlers=
qualname=sjrpc
[handler_syslog]
class=handlers.SysLogHandler
formatter=simpleFormatter
args=(
'
/dev/log
'
, handlers.SysLogHandler.LOG_DAEMON)
# [handler_consoleHandler]
# class=StreamHandler
# [handler_syslog]
# class=handlers.SysLogHandler
# formatter=simpleFormatter
# args=(sys.stderr,)
# args=(
'
/dev/log
'
, handlers.SysLogHandler.LOG_DAEMON)
[handler_consoleHandler]
class=StreamHandler
formatter=simpleFormatter
args=(sys.stderr,)
[formatter_simpleFormatter]
format=cc-node - %%(asctime)s - %%(name)s - %%(levelname)s - %%(message)s
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment