Skip to content
This repository was archived by the owner on Dec 27, 2023. It is now read-only.

Commit 526db30

Browse files
committed
Changed log stream from stdout to stderr
1 parent 4d5c50b commit 526db30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/kernel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
new FingersCrossedHandler(
3939
new GroupHandler([
4040
new SyslogHandler('jupyter-php'),
41-
new StreamHandler('php://stdout')
41+
new StreamHandler('php://stderr')
4242
]),
4343
$loggerActivationStrategy,
4444
128
@@ -50,7 +50,7 @@
5050
$logger->pushHandler(new FingersCrossedHandler(
5151
new GroupHandler([
5252
new RotatingFileHandler($system->getAppDataDirectory().'/logs/error.log', 7),
53-
new StreamHandler('php://stdout')
53+
new StreamHandler('php://stderr')
5454
]),
5555
$loggerActivationStrategy,
5656
128

0 commit comments

Comments
 (0)