Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Logs do not contain [Auth] entries #2533

Closed
gitdeath opened this issue Jan 19, 2024 · 2 comments
Closed

[Bug]: Logs do not contain [Auth] entries #2533

gitdeath opened this issue Jan 19, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@gitdeath
Copy link

Describe the issue

I am attempting to utilize the IP logging features found in the below commits, but my logs do not show any [Auth] entries at all. My logs are working and I do see entries for things like: [ApiCacheManager], [PlaybackSessionManager], [LibraryScan], [fileUtils]

I have tried with the Server Log Level set to 'Debug', 'Info', and 'Warn'

#1740
4db26f9

#1172
892fb64

Steps to reproduce the issue

  1. Install via Docker 2.7.2
  2. Login successfully
  3. Login with incorrect password
  4. Review logs

Audiobookshelf version

2.7.2

How are you running audiobookshelf?

Docker

@gitdeath gitdeath added the bug Something isn't working label Jan 19, 2024
@nichwall
Copy link
Contributor

nichwall commented Feb 4, 2024

After doing some research, it looks like this functionality broke in server version 2.6.0, which is when SSO support was added. I assume that change to the authorization flow is what broke the logging.
I tested this on all of the releases between 2.5.0 and 2.7.2, and 2.5.0 was the last release where this logging and rate limiting worked.

Copy link

Fixed in v2.13.0.

@github-actions github-actions bot removed the awaiting release Issue is resolved and will be in the next release label Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants