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
d3a7ecce
Commit
d3a7ecce
authored
12 years ago
by
Anael Beutot
Browse files
Options
Downloads
Patches
Plain Diff
Configure logging to stderr in binary at startup
Log errors in configurations for example
parent
4e804cc3
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
bin/cc-node
+2
-1
2 additions, 1 deletion
bin/cc-node
with
2 additions
and
1 deletion
bin/cc-node
+
2
−
1
View file @
d3a7ecce
...
...
@@ -10,7 +10,7 @@ from daemon import DaemonContext
from
cloudcontrol.node
import
__version__
from
cloudcontrol.node.node
import
NodeLoop
from
cloudcontrol.node.config
import
NodeConfigParser
from
cloudcontrol.node.config
import
NodeConfigParser
,
configure_logging
DEFAULT_CONFIG_FILE
=
'
/etc/cc-node.conf
'
...
...
@@ -34,6 +34,7 @@ if options.daemonize and not options.pidfile:
options
.
config
=
abspath
(
options
.
config
)
if
not
isfile
(
options
.
config
):
sys
.
exit
(
u
'
Please supply a valid path to configuration file...
'
)
configure_logging
(
1
,
'
console
'
)
config
=
NodeConfigParser
(
options
.
config
)
...
...
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