Skip to content

Commit 4408d39

Browse files
authored
fix: set LOG_LEVEL to "warning" in production (#206)
1 parent 3cf8dca commit 4408d39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Traits/CleansEnvFile.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ abstract protected function buildPath(string $path = ''): string;
1717
'LOG_CHANNEL',
1818
'LOG_STACK',
1919
'LOG_DAILY_DAYS',
20+
'LOG_LEVEL',
2021
];
2122

2223
public function cleanEnvFile(): void
@@ -38,6 +39,7 @@ public function cleanEnvFile(): void
3839
->push('LOG_CHANNEL=stack')
3940
->push('LOG_STACK=daily')
4041
->push('LOG_DAILY_DAYS=3')
42+
->push('LOG_LEVEL=warning')
4143
->join("\n");
4244

4345
file_put_contents($envFile, $contents);

0 commit comments

Comments
 (0)