Hi there,
I was wondering if sabnzbd maintains a log file with the recorded IP address (source) of the person who adds a NZB file via the gui?
I cannot seem to find anything that has that information... Does that exist?
Thanks...
Sabnzbd log file with IP Address?
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.
-
- Newbie
- Posts: 5
- Joined: January 23rd, 2015, 9:41 am
Re: Sabnzbd log file with IP Address?
Yes and no, when an external program uses the API its logged. When it's done from the interface, it's not logged.
Only unsuccessful login attempts are logged for the interface.
Only unsuccessful login attempts are logged for the interface.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
-
- Newbie
- Posts: 5
- Joined: January 23rd, 2015, 9:41 am
Re: Sabnzbd log file with IP Address?
I tried logging into the gui and then checked the logs - I didn't see any IP addresses or successful login attempt...
Do I have to change the log level to something else for it to show?
Do I have to change the log level to something else for it to show?
Re: Sabnzbd log file with IP Address?
Needed Log level:aftershocks wrote: ↑March 31st, 2018, 3:35 pm I tried logging into the gui and then checked the logs - I didn't see any IP addresses or successful login attempt...
Do I have to change the log level to something else for it to show?
Default for unsuccessful logins.
Raise to +INFO to see successful logins.
Code: Select all
$ cat sabnzbd.log | grep -i login
2018-03-23 07:07:24,722::INFO::[interface:549] Successful login from 127.0.0.1 (X-Forwarded-For: x.y.80.137)
2018-03-24 21:23:31,056::INFO::[interface:747] Successful login from 127.0.0.1 (X-Forwarded-For: x.y.80.137)
2018-03-31 18:32:39,207::INFO::[interface:747] Successful login from 127.0.0.1 (X-Forwarded-For: x.y.80.137)
2018-03-31 20:15:23,044::INFO::[interface:747] Successful login from 127.0.0.1 (X-Forwarded-For: x.y.80.137)
2018-04-01 07:46:25,854::WARNING::[interface:758] Unsuccessful login attempt from 127.0.0.1 (X-Forwarded-For: x.y.80.137)