Merge pull request #21184 from owncloud/cli-logger-embedded-webserver
Let's print error messages to the builtin webserver console ... makes…
This commit is contained in:
commit
c92b49c82a
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue