Loglevel=1 not working

With loglevel = 1, nextcloud.log file don’t have any entry for user logins and file activities

check your setup according to Logging — Nextcloud latest Administration Manual latest documentation

and/or give more information about your system

nextcloud.log file have following permissions:
-rw-r----- 1 www-data www-data 26522 Oct 29 08:20 nextcloud.log

config.php hav following data (database & some other details not shown)
image

nextcloud server is running on php.8.3 docker image

log file have failed login logs but not successful user logins logs

i think it’s designed like this.

1 Like

Only failed login attempts are logged in the standard nextcloud log. If you want to log successful login attempts as well (along with a bunch of other stuff), you need to enable the Admin audit log: Logging — Nextcloud latest Administration Manual latest documentation

2 Likes

Thanks @bb77 this is really useful

Can u suggest where can I find logs for file & directory actions like file/directory upload, delete etc.

As far as I know, these things should be logged to the admin audit log as well.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.