Make log times human readable times instead of unix timestamp
Whenever I go into the owncloud log file to check for recent entries, I'm having a hard time deciphering the unix timestamps. Why not simply print a human readable date/time there? The log file is supposed to be read by humans after all, right?
Not really. AFAIK it's only supposed to be read from /settings/admin.php - /index.php/settings/admin on master. You can set 'log_type' => 'syslog' in config.php and filter out owncloud msgs.
On (K)Ubuntu 12.10 I did this by editing /etc/rsyslog.d/50-default.conf and adding
:programname, isequal, "ownCloud" -/var/log/owncloud.log
After the standard log files.
I don't know how it is done on other OS'es
changing the logging format is wrong way but maybe we can render it to a human readable format when displaying
maybe we can render it to a human readable format when displaying
That's how it works already.
Oh - forget everything after 'Good morning!'
lmao :-)
On Tuesday 04 December 2012 12:41 Thomas Müller wrote:
Oh - forget everything after 'Good morning!'
;) I guess it can be closed
@tanghus thanks for the hint with the syslog, that looks good to me :+1: