Skip to content
Snippets Groups Projects
Commit c92b49c8 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #21184 from owncloud/cli-logger-embedded-webserver

Let's print error messages to the builtin webserver console ... makes…
parents 9a4ab698 a7ecb6e9
No related branches found
No related tags found
No related merge requests found
...@@ -101,6 +101,9 @@ class OC_Log_Owncloud { ...@@ -101,6 +101,9 @@ class OC_Log_Owncloud {
// Fall back to error_log // Fall back to error_log
error_log($entry); error_log($entry);
} }
if (php_sapi_name() === 'cli-server') {
error_log($message, 4);
}
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment