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

Redirect stderr output to stdout (or disable access log) with nextcloud:fpm #2164

Closed
witchent opened this issue Feb 21, 2024 · 2 comments
Closed

Comments

@witchent
Copy link

I hope this is the right place (if it belongs to nextcloud/server let me know).
The nextcloud:fpm image apparently puts the access log to stderr. Therefore, podman writes a lot of lines like nextcloud[6638]: - - username 21/Feb/2024:09:21:45 +0000 "PROPFIND /remote.php" 207 to the error level of journald.
This makes debugging real errors a lot harder.

The only thing I was able to find is #1667, but it is using the apache image where apparently there are symlinks in /var/log/apache2/, but that folder doesn't even exist in the fpm image. Is there anything else I can do to get rid of those logs?

@joshtrichards
Copy link
Member

@witchent
Copy link
Author

Alright, awesome, thanks a lot for the input. I redirected it to a file for now because I couldn't get the trick from the last comment to work. Seems it's not a bug of the docker image though so sorry for asking here (at least the next person can find it hopefully)

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