* #1 - project skeleton * #1 - composer fix * #1 - add app key to phpunit config * #1 - change default session driver * #1 - add EXTERNAL_WEBSERVER_PORT variable to .env.example
		
			
				
	
	
		
			55 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| declare(strict_types=1);
 | |
| 
 | |
| use Monolog\Handler\NullHandler;
 | |
| use Monolog\Handler\StreamHandler;
 | |
| 
 | |
| return [
 | |
|     "default" => env("LOG_CHANNEL", "stack"),
 | |
|     "deprecations" => env("LOG_DEPRECATIONS_CHANNEL", "null"),
 | |
| 
 | |
|     "channels" => [
 | |
|         "stack" => [
 | |
|             "driver" => "stack",
 | |
|             "channels" => ["single"],
 | |
|             "ignore_exceptions" => false,
 | |
|         ],
 | |
|         "single" => [
 | |
|             "driver" => "single",
 | |
|             "path" => storage_path("logs/laravel.log"),
 | |
|             "level" => env("LOG_LEVEL", "debug"),
 | |
|         ],
 | |
|         "daily" => [
 | |
|             "driver" => "daily",
 | |
|             "path" => storage_path("logs/laravel.log"),
 | |
|             "level" => env("LOG_LEVEL", "debug"),
 | |
|             "days" => 14,
 | |
|         ],
 | |
|         "stderr" => [
 | |
|             "driver" => "monolog",
 | |
|             "level" => env("LOG_LEVEL", "debug"),
 | |
|             "handler" => StreamHandler::class,
 | |
|             "formatter" => env("LOG_STDERR_FORMATTER"),
 | |
|             "with" => [
 | |
|                 "stream" => "php://stderr",
 | |
|             ],
 | |
|         ],
 | |
|         "syslog" => [
 | |
|             "driver" => "syslog",
 | |
|             "level" => env("LOG_LEVEL", "debug"),
 | |
|         ],
 | |
|         "errorlog" => [
 | |
|             "driver" => "errorlog",
 | |
|             "level" => env("LOG_LEVEL", "debug"),
 | |
|         ],
 | |
|         "null" => [
 | |
|             "driver" => "monolog",
 | |
|             "handler" => NullHandler::class,
 | |
|         ],
 | |
|         "emergency" => [
 | |
|             "path" => storage_path("logs/laravel.log"),
 | |
|         ],
 | |
|     ],
 | |
| ];
 |