summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/log/owncloud.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/log/owncloud.php b/lib/private/log/owncloud.php
index f8a5f7534c5..be69150d877 100644
--- a/lib/private/log/owncloud.php
+++ b/lib/private/log/owncloud.php
@@ -101,6 +101,9 @@ class OC_Log_Owncloud {
// Fall back to error_log
error_log($entry);
}
+ if (php_sapi_name() === 'cli-server') {
+ error_log($message, 4);
+ }
}
/**