mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Extended log routine.
This commit is contained in:
parent
a91c9f04c5
commit
5d11949313
@ -12,14 +12,14 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
ClassLoader::addDirectories(
|
ClassLoader::addDirectories(
|
||||||
array(
|
[
|
||||||
|
|
||||||
app_path() . '/commands',
|
app_path() . '/commands',
|
||||||
app_path() . '/controllers',
|
app_path() . '/controllers',
|
||||||
app_path() . '/models',
|
app_path() . '/models',
|
||||||
app_path() . '/database/seeds',
|
app_path() . '/database/seeds',
|
||||||
|
|
||||||
)
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -33,7 +33,7 @@ ClassLoader::addDirectories(
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Log::useFiles(storage_path() . '/logs/laravel.log');
|
Log::useDailyFiles(storage_path('logs') . DIRECTORY_SEPARATOR . 'laravel.log', 3, Config::get('app.log_level'));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user