mirror of
https://github.com/snipe/snipe-it.git
synced 2026-08-18 11:15:42 +00:00
Added admin log file/driver for auditing
This commit is contained in:
@ -111,6 +111,20 @@ $config = [
|
||||
'path' => storage_path('logs/scim.log'),
|
||||
],
|
||||
|
||||
// Settings-admin audit trail. Wizard-style config screens (LDAP
|
||||
// wizard test runs, etc.) write here instead of `action_logs`
|
||||
// so operational messages that reference server URLs, base DNs,
|
||||
// and other bind-shape info stay in files only the server
|
||||
// operator can read. Separate file so log rotation stays sane
|
||||
// and grepping doesn't have to filter out the noisier default
|
||||
// laravel.log.
|
||||
'admin' => [
|
||||
'driver' => 'daily',
|
||||
'path' => storage_path('logs/admin.log'),
|
||||
'level' => env('LOG_LEVEL', 'info'),
|
||||
'days' => 30,
|
||||
],
|
||||
|
||||
'rollbar' => [
|
||||
'driver' => 'monolog',
|
||||
'handler' => MonologHandler::class,
|
||||
|
||||
Reference in New Issue
Block a user