Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

--console_log_level does nothing? #166

Open
slrslr opened this issue May 11, 2022 · 0 comments
Open

--console_log_level does nothing? #166

slrslr opened this issue May 11, 2022 · 0 comments

Comments

@slrslr
Copy link

slrslr commented May 11, 2022

Step 1: Please describe your environment

  • ZeroNet version: likely latest from update site
  • Operating system: Linux

Step 2: Describe the problem:

python3 ./zeronet.py --help

shows:

  --console_log_level {default,DEBUG,INFO,ERROR,off}
                        Level of logging to console (default: default)

but when i use this in zeronet.conf or as a zeronet.py parameter, then it does not show any lines except two errors (regarding 3rd party plugins).

I expect to see verbose log when i use "python3 ./zeronet.py --console_log_level DEBUG"
or line "console_log_level = DEBUG" in zeronet.conf

zeronet.conf contains also "log_level = off".
If i set log_level to INFO, then console "log"/output starts showing log lines.
I think this is confusing this console_log_level or its description.

By the way i think log level values should be case insensitive (INFO, ERROR...)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant