diff --git a/lib/private/log/owncloud.php b/lib/private/log/owncloud.php index f8a5f7534c5d6c134125148b1d71a3c33b26a6e2..be69150d8777331e9a25eca0bd6b78d4a0d1a23a 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); + } } /**