nzbhydra2 icon indicating copy to clipboard operation
nzbhydra2 copied to clipboard

BUG: You have more than 3 logging markers enabled Warning when saving config

Open viptampa opened this issue 1 year ago • 7 comments

  • What do you expect to happen? - Save w/o this warning

  • What does happen? "You have more than 3 logging markers enabled" warning appears.

  • Have you searched for this problem? Yes, google and reddit. Did not produce any results that resolved my isssue.

  • Can the problem be reproduced? Yes. By saving my config, everytime.

  • If you use a docker container please tell me which one.: Using the binhex-nzbhydra2 docker container

I've downloaded and attached the debug file as I've seen recommended on reddit before. nzbhydra2-debug-infos.zip

viptampa avatar Aug 10 '23 04:08 viptampa

That's not a bug. Logging markers fill your log with a lot of stuffs that makes it hard for me to read it. They should only be enabled when asked for. As it is a warning you can ignore it.

On Thu, 10 Aug 2023, 06:46 viptampa, @.***> wrote:

What do you expect to happen? - Save w/o this warning

What does happen? "You have more than 3 logging markers enabled" warning appears.

Have you searched for this problem? Yes, google and reddit. Did not produce any results that resolved my isssue.

Can the problem be reproduced? Yes. By saving my config, everytime.

If you use a docker container please tell me which one.: Using the binhex-nzbhydra2 docker container

I've downloaded and attached the debug file as I've seen recommended on reddit before. nzbhydra2-debug-infos.zip https://github.com/theotherp/nzbhydra2/files/12308851/nzbhydra2-debug-infos.zip

— Reply to this email directly, view it on GitHub https://github.com/theotherp/nzbhydra2/issues/886, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNUA6J6H2WQCJXF4H3PFO3XURRS7ANCNFSM6AAAAAA3K5JP44 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

theotherp avatar Aug 10 '23 06:08 theotherp

Understood. From what I can tell, I've turned off all the logging markers and have set the log level to warning for log and console log level

While I can ignore it.... its bothersome to see it. How I can correct the issue?

viptampa avatar Aug 10 '23 14:08 viptampa

The logging level is set to WARN but the markers are still enabled. I should probably update the check to disable the warning in this case. For now you can set the level to DEBUG, disable all the markers, and set the level to WARN again.

On Thu, 10 Aug 2023, 16:22 viptampa, @.***> wrote:

Understood. From what I can tell, I've turned off all the logging markers and have set the log level to warning for log and console log level

While I can ignore it.... its bothersome to see it. How I can correct the issue?

— Reply to this email directly, view it on GitHub https://github.com/theotherp/nzbhydra2/issues/886#issuecomment-1673321073, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNUA6OGXYARB6OYQ25C6S3XUTVDVANCNFSM6AAAAAA3K5JP44 . You are receiving this because you commented.Message ID: @.***>

theotherp avatar Aug 10 '23 15:08 theotherp

How does one disable the markers? I thought I did that already and need to double check I'm on the same page.

viptampa avatar Aug 11 '23 02:08 viptampa

The logging level is set to WARN but the markers are still enabled. I should probably update the check to disable the warning in this case. For now you can set the level to DEBUG, disable all the markers, and set the level to WARN again. On Thu, 10 Aug 2023, 16:22 viptampa, @.> wrote: Understood. From what I can tell, I've turned off all the logging markers and have set the log level to warning for log and console log level While I can ignore it.... its bothersome to see it. How I can correct the issue? — Reply to this email directly, view it on GitHub <#886 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNUA6OGXYARB6OYQ25C6S3XUTVDVANCNFSM6AAAAAA3K5JP44 . You are receiving this because you commented.Message ID: @.>

Please point me to the instructions on how to disable the markers.
I found them in the XML file. If I click save on the config page, it automatically adds back in all of the markers...

- "TRAILING"
- "RESULT_ACCEPTOR"
- "PERFORMANCE"
- "DUPLICATES"
- "SCHEDULER"
- "USER_AGENT"
- "DOWNLOAD_STATUS_UPDATE"
- "URL_CALCULATION"
- "HTTP"

viptampa avatar Aug 13 '23 19:08 viptampa

I'm not at home right now and can't test it, will get back to you next weekend.

On Sun, 13 Aug 2023, 21:40 viptampa, @.***> wrote:

The logging level is set to WARN but the markers are still enabled. I should probably update the check to disable the warning in this case. For now you can set the level to DEBUG, disable all the markers, and set the level to WARN again. … <#m_-3215606110901919555_> On Thu, 10 Aug 2023, 16:22 viptampa, @.> wrote: Understood. From what I can tell, I've turned off all the logging markers and have set the log level to warning for log and console log level While I can ignore it.... its bothersome to see it. How I can correct the issue? — Reply to this email directly, view it on GitHub <#886 (comment) https://github.com/theotherp/nzbhydra2/issues/886#issuecomment-1673321073>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNUA6OGXYARB6OYQ25C6S3XUTVDVANCNFSM6AAAAAA3K5JP44 https://github.com/notifications/unsubscribe-auth/ADNUA6OGXYARB6OYQ25C6S3XUTVDVANCNFSM6AAAAAA3K5JP44 . You are receiving this because you commented.Message ID: @.>

Please point me to the instructions on how to disable the markers. I found them in the XML file. If I click save on the config page, it automatically adds back in all of the markers...

  • "TRAILING"
  • "RESULT_ACCEPTOR"
  • "PERFORMANCE"
  • "DUPLICATES"
  • "SCHEDULER"
  • "USER_AGENT"
  • "DOWNLOAD_STATUS_UPDATE"
  • "URL_CALCULATION"
  • "HTTP"

— Reply to this email directly, view it on GitHub https://github.com/theotherp/nzbhydra2/issues/886#issuecomment-1676445500, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNUA6P3R4WFWAEDEYZOSKLXVEURJANCNFSM6AAAAAA3K5JP44 . You are receiving this because you commented.Message ID: @.***>

theotherp avatar Aug 14 '23 04:08 theotherp

Understood. Thank you kind human!

viptampa avatar Aug 14 '23 04:08 viptampa