summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-05-14 12:14:02 -0700
committerBrion Vibber <brion@pobox.com>2010-05-14 12:14:02 -0700
commit065ecc5573607d21ae005ff2649d04558256fc7e (patch)
treed014c007ed0adb4845fab21d7394f87f7949422c /lib/util.php
parent2f8480a779f3495eb64d6c9a94d6153225783e4d (diff)
parent2e808fdc82adc862be12118332d27a36a19123ca (diff)
Merge branch 'testing' into 0.9.x
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index e0669a1d5..3e3153094 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -1379,7 +1379,7 @@ function common_log_line($priority, $msg)
{
static $syslog_priorities = array('LOG_EMERG', 'LOG_ALERT', 'LOG_CRIT', 'LOG_ERR',
'LOG_WARNING', 'LOG_NOTICE', 'LOG_INFO', 'LOG_DEBUG');
- return date('Y-m-d H:i:s') . ' ' . $syslog_priorities[$priority] . ': ' . $msg . "\n";
+ return date('Y-m-d H:i:s') . ' ' . $syslog_priorities[$priority] . ': ' . $msg . PHP_EOL;
}
function common_request_id()