You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
i would like to use calibre-web to share pdf in my company.
In logs, i found:
who connect
which files were served
which files were downloaded
But i don't find who ask a file, and from which device...
On lines 1207, 1216 and 1237 of webp.py file, i replace: log.info('Serving book: %s', data.name)
with: log.info('Serving book: \'%s\' to %s - %s', data.name, current_user.name, request.headers.get('X-Forwarded-For', request.remote_addr))
On line 977 of helper.py, i replace: log.info('Downloading file: {}'.format(os.path.join(filename, book_name + "." + book_format)))
with log.info('Downloading file: \'%s\' by %s', format(os.path.join(filename, book_name + "." + book_format)), current_user.name)
But i don't find how add user ip address...
The text was updated successfully, but these errors were encountered:
Hello,
i would like to use calibre-web to share pdf in my company.
In logs, i found:
But i don't find who ask a file, and from which device...
On lines 1207, 1216 and 1237 of webp.py file, i replace:
log.info('Serving book: %s', data.name)
with:
log.info('Serving book: \'%s\' to %s - %s', data.name, current_user.name, request.headers.get('X-Forwarded-For', request.remote_addr))
On line 977 of helper.py, i replace:
log.info('Downloading file: {}'.format(os.path.join(filename, book_name + "." + book_format)))
with
log.info('Downloading file: \'%s\' by %s', format(os.path.join(filename, book_name + "." + book_format)), current_user.name)
But i don't find how add user ip address...
The text was updated successfully, but these errors were encountered: