OC 9.1.4 - Changing LogLevel to info does not work


#1

Steps to reproduce

  1. Change Log level via GUI to "Info, warnings, error and fatal issues"
  2. Check config/config/php has been updated
  3. Downloaded a file, deleted a file, restored a file, uploaded a file.

Expected behaviour

According to the OwnCloud documentation logging level 1 is "Activity such as user logins and file activities, plus warnings, errors, fatal errors"
I would expect my file activity to have been logged in owncloud.log (var/www/owncloud/owncloud.log) in our case.

Actual behaviour

No info level stuff was logged

Server configuration

Operating system: CentOS 7
Web server: Apache
Database: MySQL
PHP version: 5.4.16
ownCloud version (see ownCloud admin page): 9.1.4
Updated from an older ownCloud or fresh install: Fresh Install
Special configuration (external storage, external authentication, reverse proxy):
External Storage, external authentication, reverse proxy.

The content of config/config.php:

<img src="/uploads/db1708/original/2X/b/bd61b6a859c759398beded20410a1b7114bba54c.png" width="369" height="500">

Are you using external storage, if yes which one:
GlusterFS

Are you using encryption:
No

Are you using an external user-backend, if yes which one:
OpenLDAP

I would have expected the logging change to kick in straight away? I have also restarted httpd.

Cheers
Andrew


#2

Link please.

As far as I know, only information for debugging is logged there. No "successful" action should be logged.

You might be refering the to admin_audit / auditing app (for enterprise edition) which might log at least some of what you want to be logged.
The activity app (free) might fit your needs if you want people to track their own activity, but I don't think you can download the acitivity of all users.


#3

Hi jvillafanez,

Here's the link:
https://doc.owncloud.org/server/9.1/admin_manual/configuration_server/logging_configuration.html

The enterprise logging app, as described here (https://doc.owncloud.org/server/9.1/admin_manual/enterprise_logging/enterprise_logging_apps.html) is an app that relies on your logging level being set to 1 as described in my original post.

Regards
Andrew


#4

Hi, just tested this in 9.1.6 and it works correctly.

Maybe try to upgrade to latest 9.1 and check it. (Or upgrade to 10).


#5

Hi SergioBertolin SG,

Thank you for your reply, just to confirm you are not a subscribed or enterprise customer? I want to rule out any licensing issues.

Cheers
Andrew


#6

Just a further thought (before I upgrade). Should this not work in 9.1.4 or was there a known issue with it?


#7

Hi @andrewjones216, sorry I misunderstood your question.

To see those actions you need the enterprise app admin_audit: https://marketplace.owncloud.com/apps/admin_audit

The documentation about the community logs is wrong, that info should not appear without admin audit.

Cheers.


#8

Hi @SergioBertolinSG

Thank you for your response, who's the best person to contact to change the documentation so that future administrators don't get the wrong idea?

Cheers
Andrew


#9

In general for any documentation question your guy is @settermjd, I already told him about this one.


#10

That's right @andrewjones216, always feel free to contact me. Alternatively, and a better choice, is to create a new issue in the docs, if there's not already one, or a PR, that covers what you need.


#11

Thanks for mentioning this. I'll get the logs updated accordingly.