Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
nrm
Commits
047ed5cf
Commit
047ed5cf
authored
Feb 27, 2019
by
Valentin Reis
Browse files
[feature] Adds --verbose argument to the daemon.
parent
d305b514
Pipeline
#5704
passed with stages
in 42 minutes and 47 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
bin/daemon
View file @
047ed5cf
...
...
@@ -56,6 +56,8 @@ def main(argv=None):
parser
=
argparse
.
ArgumentParser
(
parents
=
[
conf_parser
])
parser
.
set_defaults
(
**
defaults
)
parser
.
add_argument
(
"-v"
,
"--verbose"
,
help
=
"increase output verbosity"
,
action
=
"store_true"
)
parser
.
add_argument
(
"--nrm_log"
,
help
=
"Main log file. Override default with the NRM_LOG."
...
...
nrm/daemon.py
View file @
047ed5cf
...
...
@@ -341,7 +341,8 @@ class Daemon(object):
def
runner
(
config
):
ioloop
.
install
()
logger
.
setLevel
(
logging
.
DEBUG
)
if
config
.
verbose
:
logger
.
setLevel
(
logging
.
DEBUG
)
if
config
.
nrm_log
:
print
(
"Logging to %s"
%
config
.
nrm_log
)
...
...
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