3
0
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:
snipe
2026-07-27 00:01:59 +01:00
parent f815001c1c
commit 4d6563343a

View File

@ -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,