diff options
author | Juan Pablo Villafáñez <jvillafanez@solidgear.es> | 2017-04-04 10:12:41 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-04-12 13:03:19 +0200 |
commit | 38e5135cb9730a5add715aa8e0b532a2aeb1835e (patch) | |
tree | b62a87bb233dabd886e6dbe2fe005411b2f8620b /lib/private/Log | |
parent | af42ca20252b166bec2da34970137ec790a18328 (diff) | |
download | nextcloud-server-38e5135cb9730a5add715aa8e0b532a2aeb1835e.tar.gz nextcloud-server-38e5135cb9730a5add715aa8e0b532a2aeb1835e.zip |
Reorder the entries of the log for easier reading
Diffstat (limited to 'lib/private/Log')
-rw-r--r-- | lib/private/Log/File.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/private/Log/File.php b/lib/private/Log/File.php index 8011f63ab13..9ef071bee5f 100644 --- a/lib/private/Log/File.php +++ b/lib/private/Log/File.php @@ -106,16 +106,16 @@ class File { $version = $config->getValue('version', ''); $entry = compact( 'reqId', - 'remoteAddr', - 'app', - 'message', 'level', 'time', + 'remoteAddr', + 'user', + 'app', 'method', 'url', - 'user', + 'message', 'userAgent', - 'version' + 'version', ); $entry = json_encode($entry); $handle = @fopen(self::$logFile, 'a'); |