Does /settings/admin/logging work for anyone else?
-
For me it just spins for ever and never loads anything
-
For me it just spins for ever and never loads anything
-
@jdaviescoates yes, this has always been the case. nextcloud's log view gets confused if you log to stdout/stderr . You have to use the Cloudron log viewer instead.
@girish said in Does /settings/admin/logging work for anyone else?:
if you log to stdout/stderr
That means nothing to me. But presumably that's what Nextcloud is trying to do when I visit /settings/admin/logging?
-
@girish said in Does /settings/admin/logging work for anyone else?:
if you log to stdout/stderr
That means nothing to me. But presumably that's what Nextcloud is trying to do when I visit /settings/admin/logging?
@jdaviescoates we almost always configure apps to send logs to (so called) stdout , as opposed to writing logs to some file . The idea is that apps should not write and manage log files. This system also allows cloudron to implement a generic log viewer which is just a stream of stuff output by the app.
Unfortunately, nextcloud does not work well when it's configured to send logs to stdout instead of a file. The nextcloud logging UI is designed to work when it logs to a file.
See also https://12factor.net/logs
-
According to https://github.com/nextcloud/logreader/pull/866/commits/20870c1225e32ca55eed4d87249f697f5d13fda8 you must see some better error message . Unfortunately, we hack the stuff to use logfile itself to log to stderr (sorry, technical mumbo jumob here...). Oh well.
-
According to https://github.com/nextcloud/logreader/pull/866/commits/20870c1225e32ca55eed4d87249f697f5d13fda8 you must see some better error message . Unfortunately, we hack the stuff to use logfile itself to log to stderr (sorry, technical mumbo jumob here...). Oh well.
@girish said in Does /settings/admin/logging work for anyone else?:
According to https://github.com/nextcloud/logreader/pull/866/commits/20870c1225e32ca55eed4d87249f697f5d13fda8 you must see some better error message
Well, I don't.

Oh well.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login