-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
nextcloud/documentation
#10604Description
Steps to reproduce
- Activate debug level logging (0) in config/config.php
- Activate Audit Nextcloud app from the web administration panel
- Login and logout several times
- Login back with an admin account and go to the administration panel: the login and logout requests are not displayed
- However, these requests are logged in the audit.log file
Expected behaviour
The content of the audit.log file should be displayed in the web administration logging panel
Actual behaviour
Login or log out requests are not displayed on the web interface
Server configuration
Operating system: Debian 9
Web server: Apache 2
Database: Mysql
PHP version: 7
Nextcloud version: 16.0.3
Updated from an older Nextcloud/ownCloud or fresh install: fresh install
List of activated apps:
App list
Auditing / LoggingNextcloud configuration:
Config report
'owsk6pnizeou', 'passwordsalt' => 'xxxxx' 'secret' => 'xxxxx', 'trusted_domains' => array ( 0 => 'nextcloud.intra.inet, ), 'datadirectory' => '/home/nextclouduser', 'dbtype' => 'mysql', 'version' => '16.0.3.0', 'overwrite.cli.url' => 'https://nextcloud.intra.inet', 'dbname' => 'xxxx', 'dbhost' => 'xxxx', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'nextcloud', 'dbpassword' => '', 'installed' => true, 'log_type' => 'file', 'logfile' => 'nextcloud.log', 'loglevel' => '0', );Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Firefox/60.0
Operating system: Microsoft Windows 10
Logs
Web server error log
Web server error log
No error in the error log
Nextcloud log
Nextcloud log
{"reqId":"xxxx","level":0,"time":"August 16, 2019 10:12:45","remoteAddr":"10.100.20.19","user":"--","app":"cron","method":"GET","url":"\/cron.php","message":"Run OC\\Log\\Rotate job with ID 20","userAgent":"Mozilla\/5.0 Gecko\/20100101 Firefox\/60.0","version":"16.0.3.0"}
Nextcloud audit log
``` {"reqId":"A2rPl1W4l4JQTIOih1aS","level":1,"time":"August 16, 2019 13:16:56","remoteAddr":"10.100.18.116","user":"Admin01","app":"admin_audit","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v2\/notifications","message":"Login successful: \"Admin01\"","userAgent":"Mozilla\/5.0 (Windows 10 rv:58.0) Gecko\/20100101 Firefox\/60.0","version":"16.0.3.0"} ```aproposnix