Skip to content
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

Log spam: appinfo/app.php is deprecated #230

Open
major-mayer opened this issue Dec 14, 2022 · 2 comments
Open

Log spam: appinfo/app.php is deprecated #230

major-mayer opened this issue Dec 14, 2022 · 2 comments

Comments

@major-mayer
Copy link

I don't know why exactly this happens, but for almost every request to my Nextcloud instance, it seems that somehow Pico CMS is invoked, and the following appears in the logs:

{"reqId":"2DssyqSnEWAeV5NzMsrk","level":0,"time":"2022-12-14T09:43:49+00:00","remoteAddr":"xxx","user":"xxx","app":"cms_pico","method":"PROPFIND","url":"/remote.php/dav/files/[...]/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.23.0","version":"25.0.2.3","data":{"app":"cms_pico"}}

This leads to significant log spam.
I think the right way would be to switch to IBoostrap, but it might be sufficient for now to make sure that Pico CMS is only invoked, when a request to a Pico site is done and not for every other.

@PhrozenByte
Copy link
Collaborator

This is a debug log message and not supposed to show up in production. Lower your log level resp. disable debug mode. Keeping this open to track when we choose to switch to IBootstrap later.

@major-mayer
Copy link
Author

Ah you are totally right.
In my case it was not the debug mode that was active, but instead i had the loglevel set to 0.
After switching it to 1, everything is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants