komga icon indicating copy to clipboard operation
komga copied to clipboard

Komga doesn't log unauthenticated requests

Open rmanne opened this issue 3 months ago • 0 comments

Steps to reproduce

  1. Run komga with environment LOGGING_LEVEL_ORG_GOTSON_KOMGA = "DEBUG"; and SERVER_SERVLET_CONTEXT_PATH = "/komga";.
  2. curl 'http://127.0.0.1:25600/komga/opds/v1.2/books'

Expected behavior

There should be an AuthenticationActivity (/failed) event indicated through the logs.

Actual behavior

SessionCreatedEvent: f7990268-b474-4552-accb-11ef2ca6669e

There's no indication there was an authentication failure. SessionCreateEvent is the best you get, even with debug logs.

Logs

No response

Komga version

1.11.1

Operating system

NixOS

Installation method

jar

Other details

No response

Acknowledgements

  • [X] I have searched the existing issues (open AND closed) and this is a new ticket, NOT a duplicate or related to another open issue.
  • [X] I have written a short but informative title.
  • [X] I have checked the FAQ.
  • [X] I have updated the app to the latest version.
  • [X] I will fill out all of the requested information in this form.

rmanne avatar May 19 '24 22:05 rmanne