[SOLVED] How do I disable logging altogether?

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
bobsmith
Newbie
Newbie
Posts: 8
Joined: May 29th, 2009, 7:29 pm

[SOLVED] How do I disable logging altogether?

Post by bobsmith »

Here's the ini file section:

[logging]
enable_cherrypy_logging = 1
log_level = 1
max_log_size = .001M
log_backups = 0

If I do not want ANY logging whatsoever (no sabnzbd.log and no cherrypy.log) what does the ini file need to include? Thanks.
Last edited by bobsmith on July 28th, 2009, 3:24 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: How do I disable logging altogether?

Post by shypike »

[logging]
enable_cherrypy_logging = 0
log_level = 0
max_log_size = 1M
log_backups = 2

This will log the minimum (just errors and warnings).
Less isn't possible without modifying the code.
bobsmith
Newbie
Newbie
Posts: 8
Joined: May 29th, 2009, 7:29 pm

Re: How do I disable logging altogether?

Post by bobsmith »

Thanks shypike! That's exactly what I needed.
Post Reply