Page MenuHomePhabricator

[cumin] --debug or --trace do not log anything to stdout
Closed, ResolvedPublic

Description

Cumin has options --trace and --debug however it does not show any additional output, I am thus wondering what the options are for or where they log.

Inline doc has:

-d, --debug           Set log level to DEBUG. [default: False]
--trace               Set log level to TRACE, a custom logging level
                        intended for development debugging. [default: False]

Tested on integration-cumin.integration.eqiad.wmflabs which has cumin debian package 3.0.2-2

Event Timeline

hashar renamed this task from [cumin] to [cumin] --debug or --trace do not log anything to stdout.Sep 18 2018, 10:37 AM

It sets the log level, so the additional information is in the logs. See /var/log/cumin/cumin.log

Volans claimed this task.

[edited previous comment, I had put the wrong path by mistake. FYI the log file is managed by the log_file configuration entry in /etc/cumin/config.yaml]

I'm re-opening it to improve the --help description.

Change 461168 had a related patch set uploaded (by Volans; owner: Volans):
[operations/software/cumin@master] CLI: improve help message

https://gerrit.wikimedia.org/r/461168

Change 461168 merged by jenkins-bot:
[operations/software/cumin@master] CLI: improve help message

https://gerrit.wikimedia.org/r/461168