log viewer

This commit is contained in:
Afiq Zakwan Hamdan
2021-05-11 16:36:06 +08:00
parent 317930d1d8
commit e9c9aa7842
5 changed files with 420 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Pattern and storage path settings
|--------------------------------------------------------------------------
|
| The env key for pattern and storage path with a default value
|
*/
'max_file_size' => 52428800, // size in Byte
'pattern' => env('LOGVIEWER_PATTERN', '*.log'),
'storage_path' => env('LOGVIEWER_STORAGE_PATH', storage_path('logs')),
];