Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[BUG] per service logging settings are ignored #485

Closed
felixbrucker opened this issue Oct 21, 2020 · 3 comments
Closed

[BUG] per service logging settings are ignored #485

felixbrucker opened this issue Oct 21, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@felixbrucker
Copy link
Contributor

Describe the bug
With beta 16 setting the logging settings for some service only, like harvester, does not apply them. Instead the root logging settings are used (root logging key of the config file).

To Reproduce
Steps to reproduce the behavior:

  1. Use the default config of chia init
  2. Modify eg. the harvester logging option to the following:
  logging:
    log_filename: log/harvester.log
    log_level: INFO
    log_stdout: false
  1. Observe no output in the harvester.log file (and its also not even created)

Expected behavior

Same as with beta 15: the logging settings of the service are used.

Desktop (please complete the following information):

  • OS: Windows
  • OS Version/Flavor: 10
  • CPU: doesn't matter
@felixbrucker felixbrucker added the bug Something isn't working label Oct 21, 2020
richardkiss added a commit that referenced this issue Oct 21, 2020
@richardkiss
Copy link
Contributor

This is a small enough fix that you should be able to apply it to your installation. Give it a try.

@felixbrucker
Copy link
Contributor Author

@richardkiss which file would i need to edit on my windows install? i don't see a start_service.py anywhere.

@hoffmang9
Copy link
Member

You can't make this change on the installer versions. It will be included in the next release which may be soon.

@hoffmang9 hoffmang9 mentioned this issue Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants