Very large sabnzbd.exe.log

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
psycik
Full Member
Full Member
Posts: 108
Joined: September 28th, 2009, 2:33 pm

Very large sabnzbd.exe.log

Post by psycik »

Found this yesterday.  Sitting in the main application directory was a log file sabnzbd.exe.log - at about 160mb.  Seemed to be in use.

What controls this, and should it be getting that large?

I run .5.2 on Windows XP.
psycik
Full Member
Full Member
Posts: 108
Joined: September 28th, 2009, 2:33 pm

Re: Very large sabnzbd.exe.log

Post by psycik »

Just had a quick look at it.  Its full of the following:

Code: Select all

Traceback (most recent call last):
  File "logging\handlers.pyo", line 74, in emit
  File "logging\handlers.pyo", line 131, in doRollover
WindowsError: [Error 32] The process cannot access the file because it is being used by another process
Traceback (most recent call last):
  File "logging\handlers.pyo", line 73, in emit
  File "logging\handlers.pyo", line 147, in shouldRollover
ValueError: I/O operation on closed file
Traceback (most recent call last):
  File "logging\handlers.pyo", line 73, in emit
  File "logging\handlers.pyo", line 147, in shouldRollover
ValueError: I/O operation on closed file
Traceback (most recent call last):
  File "logging\handlers.pyo", line 73, in emit
  File "logging\handlers.pyo", line 147, in shouldRollover
ValueError: I/O operation on closed file
Traceback (most recent call last):
  File "logging\handlers.pyo", line 73, in emit
  File "logging\handlers.pyo", line 147, in shouldRollover
ValueError: I/O operation on closed file
Traceback (most recent call last):
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Very large sabnzbd.exe.log

Post by shypike »

Known issue. See ISSUES.txt in SABnzbd's program folder.
Cannot be solved as long as the Python designers don't fix this.
You can avoid the problem largely by setting the logging level low (info or errors/warnings).
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Very large sabnzbd.exe.log

Post by shypike »

We will try to create some crude fix for this.
The problem isn't so much the failure of the logging itself,
but the fact that the size limiter of the logging fails too.
Post Reply