[Enhancement]: Logging to show login attempts #1999

Closed
opened 2026-04-25 00:02:15 +02:00 by adam · 1 comment
Owner

Originally created by @talkingseedling on GitHub (May 20, 2024).

Type of Enhancement

Server Backend

Describe the Feature/Enhancement

Currently there is no log output for successful or unsuccessful login attempts. Ideally they'd be present, and include timestamp, username, ip address, X-Forwarded-For.

Why would this be helpful?

Use case is parsing logs in elastic/logstash/kibana/beats to generate notifications for login attempts.

Future Implementation (Screenshot)

{timestamp} WARN: [AuthService] Failed login attempt for user {username} from ip address {ip address} (Reason: wrong password)

Audiobookshelf Server Version

v2.9.0

Current Implementation (Screenshot)

docker logs -f audiobookshelf

Originally created by @talkingseedling on GitHub (May 20, 2024). ### Type of Enhancement Server Backend ### Describe the Feature/Enhancement Currently there is no log output for successful or unsuccessful login attempts. Ideally they'd be present, and include timestamp, username, ip address, X-Forwarded-For. ### Why would this be helpful? Use case is parsing logs in elastic/logstash/kibana/beats to generate notifications for login attempts. ### Future Implementation (Screenshot) {timestamp} WARN: [AuthService] Failed login attempt for user {username} from ip address {ip address} (Reason: wrong password) ### Audiobookshelf Server Version v2.9.0 ### Current Implementation (Screenshot) docker logs -f audiobookshelf
adam added the enhancement label 2026-04-25 00:02:15 +02:00
adam closed this issue 2026-04-25 00:02:15 +02:00
Author
Owner

@advplyr commented on GitHub (May 20, 2024):

Duplicate of https://github.com/advplyr/audiobookshelf/issues/2533

@advplyr commented on GitHub (May 20, 2024): Duplicate of https://github.com/advplyr/audiobookshelf/issues/2533
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1999