[Enhancement]: Add logging for downloaded files #925

Closed
opened 2026-04-24 23:26:20 +02:00 by adam · 3 comments
Owner

Originally created by @ktorq on GitHub (Feb 1, 2023).

Describe the feature/enhancement

It appears that there is no logging around a user downloading a file.
To reproduce:
I set level to DEBUG, went to an audiobook, under Audiotracks hit Download. No logs for any action.

Originally created by @ktorq on GitHub (Feb 1, 2023). ### Describe the feature/enhancement It appears that there is no logging around a user downloading a file. To reproduce: I set level to DEBUG, went to an audiobook, under Audiotracks hit Download. No logs for any action.
adam added the enhancement label 2026-04-24 23:26:20 +02:00
adam closed this issue 2026-04-24 23:26:20 +02:00
Author
Owner

@devilbob commented on GitHub (Mar 20, 2023):

I'd like to see this implemented similar to Listening Sessions - show User, Title and date/time of all downloads. I have a couple of users who only use downloads and then move the book to an MP3 player to listen.

@devilbob commented on GitHub (Mar 20, 2023): I'd like to see this implemented similar to Listening Sessions - show User, Title and date/time of all downloads. I have a couple of users who only use downloads and then move the book to an MP3 player to listen.
Author
Owner

@advplyr commented on GitHub (Jul 15, 2023):

In v2.2.22 I added a log for when individual files are downloaded. Next release will have a log for when full library item is downloaded as a zip.

The mobile apps use the individual files endpoint which is where most downloads happen, so you should already see those.

They look like this:

INFO: [LibraryItemController] User "${user.username}" requested file download at "${filepath}"
@advplyr commented on GitHub (Jul 15, 2023): In `v2.2.22` I added a log for when individual files are downloaded. Next release will have a log for when full library item is downloaded as a zip. The mobile apps use the individual files endpoint which is where most downloads happen, so you should already see those. They look like this: ``` INFO: [LibraryItemController] User "${user.username}" requested file download at "${filepath}" ```
Author
Owner

@advplyr commented on GitHub (Jul 21, 2023):

This was added in v2.3.0 but the latest release v2.3.3 should be used

@advplyr commented on GitHub (Jul 21, 2023): This was added in v2.3.0 but the latest release v2.3.3 should be used
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#925