Skip to content

Commit 6211986

Browse files
authored
Use stderr by default (#31)
1 parent af31781 commit 6211986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FilebeatLogging/FilebeatLoggingServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function register(): void
2323
'driver' => 'custom',
2424
'channel' => 'filebeat',
2525
'extras' => json_decode(env('FILEBEAT_LOGGER_EXTRAS', '{}'), associative: true, flags: JSON_THROW_ON_ERROR),
26-
'stream' => env('FILEBEAT_LOGGER_STREAM', 'php://stdout'),
26+
'stream' => env('FILEBEAT_LOGGER_STREAM', 'php://stderr'),
2727
'rotating' => env('FILEBEAT_LOGGER_ROTATING', false),
2828
'httpContextProcessor' => RequestProcessor::class,
2929
'via' => FilebeatLoggerFactory::class,

0 commit comments

Comments
 (0)