You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
log file format differs from standard syslog format and is not formatted reader friendly #1556
The currently used logging format of owncloud.log is not really human readable and has been chosen as an easy way to display its content via the admin web menu.
{"app":"roundcube","message":"Checking login data for tom","level":0,"time":1360002692}
If a system administrator has to monitor a huge number of servers and log files from different applications he usually does this by using scripts or other tools which are able to interpret standard log file formats. For this reason I want to recommend to change the currently used format to a more syslog like format.
Feb 8 21:34:46 server owncloud: {roundcube} debug - Checking login data for tom
I've created the following patch which seamlessly integrates the new format into the ownCloud environment.
The only point which need to be clarified is, how an existing "old formatted" log file can be moved away when running the ownCloud release for the first time, so that not both log formats are written to the same file.
Activity
jancborchardt commentedon Mar 20, 2013
@j-ed I’m closing this in favor of the pull request at #1623. Thank you for the contribution! :)