linux-app icon indicating copy to clipboard operation
linux-app copied to clipboard

How to reduce log spam?

Open ini121 opened this issue 1 year ago • 0 comments

We are happy to answer your questions about the code or discuss technical ideas.

Please complete the following checklist (by adding [x]):

  • [x] I have searched open and closed issues for duplicates
  • [ ] This isn't a feature request
  • [x] This is not a report about my app not working as expected

I am on arch, v1.12.0 (library: v3.14.0 / api-client: v0.7.1)

The GUI client does constant writes to /.cache/protonvpn/logs/ because by default all logging library is set to logging.INFO

I have changed this in the python packages to logging.ERROR to reduce disk writes because i found no other way

openvpn also writes hundreds of errors to journal like this: nm-openvpn: Authenticate/Decrypt packet error: bad packet ID (may be a replay): -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings

is there a way to set ALL logging to error?

ini121 avatar May 16 '23 05:05 ini121