Skip to content

Commit 5518ef8

Browse files
authored
Update default logging config
1 parent a3b0584 commit 5518ef8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

config/app.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,13 @@
2828

2929
/**
3030
* Logs enabled, path and level
31+
*
32+
* When path is `false` the default Apache/Nginx error logs are used. By setting path to a string, no logs will be sent
33+
* to the default and instead a file will be created. To disable all logging output set `enabled` to `false`.
3134
*/
3235
'logs' => [
33-
'enabled' => false,
34-
'path' => get_template_directory().'/app.log',
36+
'enabled' => true,
37+
'path' => false,
3538
'level' => Monolog\Logger::ERROR,
3639
],
3740

0 commit comments

Comments
 (0)