-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server always resets logging to loglevel 0 #9939
Comments
@arnowelzel Could you check if there are more files in The config report says that the log level is indeed |
@MorrisJobke If it helps: I believe the issue started after updating to NC 13.0.4. Before I never had this problem. I just have reset the loglevel back to 2 and will monitor this. |
Just a quick update: about 22 hours have passed and so far the loglevel didn't change :-). If it happens again, I'll let you know. If it stays like that for another 24 hours I will close this issue. |
Another 17 hours passed without any problem - which is good :-). I'll close this issue now. On the other hand: I really had this strange effect in the last 10 days multiple times. Can a Nextcloud plugin change the debug level on its own? |
Now it happend again. At 2016-06-22 11:58 UTC, the loglevel was reset to 0 again :-(. At that time I was using the "Deck" app in the browser. So the question is: under which circumstances may the loglevel be changed? |
Very strange, indeed: I did reset the loglevel to 2. It got immediatly reset to 0 when I was using the Gallery app and the following error was logged:
Then I manually reset the loglevel back to 2 again, entered the Gallery again - and nothing happens. The loglevel stays at 2. Also entering "Deck" again etc. does not change anything. So the really interesting question here is: why does Nextcloud change the loglevel at all? Somewhere in the code of Nextcloud or in of the apps there must be some code doing this. So far I know about the updater. But there may be other components as well doing this? I'll try to find the possible calls for this in the code tonight and maybe also the cause for that. |
I think, I found it: nextcloud/logreader#68 This is true here as well - because when using the logreader I have "debug" usally filtered out. To check, if the loglevel was reset back to 0 again, I activated the "debug" checkbox in the logreader filter and this causes the loglevel to be reset to 0. I think the problem is this here (
Why does the system wide loglevel of Nextcloud get changed, just because the filter in the logreader view is changed? When I turn on debug messages in the filter of the logreader view this does not mean, I want to change the system wide loglevel to "debug". A reader should never change anything in the system, never. I would just delete |
Since this bug is a flaw in the logreader app and not the server itself, I close this issue. |
That log reader filter is also the setting in the UI. But I would be fine to keep it a filter only and allow only changing the log level in the config.php. Could you mention me in that ticket? |
Fixed by nextcloud/logreader#72 |
Steps to reproduce
Expected behaviour
The loglevel should stay at 2 so the log does not get filled with info and debug messages.
Actual behaviour
The loglevel is reset to 0 and the log is getting filled with info and debug messages.
Server configuration
Operating system: Ubuntu Linux 16.04
Web server: Apache 2.4
Database: MariaDB
PHP version: 7.0
Nextcloud version: 13.0.4
Updated from an older Nextcloud/ownCloud or fresh install: Updated
Where did you install Nextcloud from: nextcloud.com
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
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: Windows 10 Pro
The text was updated successfully, but these errors were encountered: