Rotate sabnzbd.error.log
Forum rules
Help us help you:
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.
Rotate sabnzbd.error.log
When I look at the logging, sabnzbd.log is rotated. Is it possibkle to add something like that for sabnzbd.error.log also? Or is it already there, and didn't I see it?
Re: Rotate sabnzbd.error.log
Well ... on a healthy setup sabnzbd.error.log should be 0 bytes, or small.
So if your sabnzbd.error.log is big, I would focus on solving the underlying problems.
So if your sabnzbd.error.log is big, I would focus on solving the underlying problems.
Re: Rotate sabnzbd.error.log
When I am right, it can't be solved that easy. But I can not remember what the cause is. :-D
Can I find out by looking up the errors in sabnzbd.log?
Can I find out by looking up the errors in sabnzbd.log?
Re: Rotate sabnzbd.error.log
It looks like that is a binary file. When opening with vi or something like that, I can not read anything useful.
Re: Rotate sabnzbd.error.log
Strange; SAB writes just plain to it.
Well, then just delete it.
Well, then just delete it.
Re: Rotate sabnzbd.error.log
Ok, I will. Thanks! Consider this as solved. :-)
Re: Rotate sabnzbd.error.log
To be complete: when downloading, sometimes I get a lot of errors like the one below.
I understood this has to do with https and slowness of my Synology, but I don't want to disable that.
Code: Select all
ERROR 21 minutes ago [08/Apr/2019:13:34:29] HTTP
Traceback (most recent call last):
File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/_cprequest.py", line 663, in respond
self.body.process()
File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/_cpreqbody.py", line 989, in process
super(RequestBody, self).process()
File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/_cpreqbody.py", line 558, in process
proc(self)
File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/_cpreqbody.py", line 223, in process_multipart_form_data
process_multipart(entity)
File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/_cpreqbody.py", line 203, in process_multipart
b = entity.readline()
File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/_cpreqbody.py", line 480, in readline
return self.fp.readline(size)
File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/_cpreqbody.py", line 860, in readline
data = self.read(chunksize)
File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/_cpreqbody.py", line 824, in read
data = self.fp.read(chunksize)
File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/wsgiserver/__init__.py", line 360, in read
data = self.rfile.read(size)
File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/wsgiserver/__init__.py", line 1138, in read
data = self.recv(left)
File "/volume1/@appstore/sabnzbd/share/SABnzbd/cherrypy/wsgiserver/__init__.py", line 1070, in recv
data = self._sock.recv(size)
File "/var/packages/python/target/lib/python2.7/ssl.py", line 766, in recv
return self.read(buflen)
File "/var/packages/python/target/lib/python2.7/ssl.py", line 653, in read
v = self._sslobj.read(len)
SSLError: ('The read operation timed out',)
Re: Rotate sabnzbd.error.log
My guess is that that error does NOT pop up in sabnzbd.error.log, so no need to rotate sabnzbd.error.log, right?
EDIT
Wow, wait: I checked my own synology, and is has a big sabnzbd.error.log too, with binary garbage in it.
I'll make a bug report of that: https://github.com/sabnzbd/sabnzbd/issues/1269
EDIT
Wow, wait: I checked my own synology, and is has a big sabnzbd.error.log too, with binary garbage in it.
I'll make a bug report of that: https://github.com/sabnzbd/sabnzbd/issues/1269
Re: Rotate sabnzbd.error.log
Thanks Sander!