mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 10:33:30 +00:00
Make audit log configurable.
This commit is contained in:
@@ -53,6 +53,13 @@ LOG_CHANNEL=stack
|
|||||||
# nothing will get logged, ever.
|
# nothing will get logged, ever.
|
||||||
APP_LOG_LEVEL=notice
|
APP_LOG_LEVEL=notice
|
||||||
|
|
||||||
|
#
|
||||||
|
# Firefly III keeps track of specific (security) related events in an audit log.
|
||||||
|
# These are stored on the drive, but in case of Docker can best be sent to 'stdout'.
|
||||||
|
#
|
||||||
|
AUDIT_LOG_CHANNEL=daily
|
||||||
|
|
||||||
|
|
||||||
# Database credentials. Make sure the database exists. I recommend a dedicated user for Firefly III
|
# Database credentials. Make sure the database exists. I recommend a dedicated user for Firefly III
|
||||||
# For other database types, please see the FAQ: https://docs.firefly-iii.org/support/faq
|
# For other database types, please see the FAQ: https://docs.firefly-iii.org/support/faq
|
||||||
# If you use Docker or similar, you can set these variables from a file by appending them with _FILE
|
# If you use Docker or similar, you can set these variables from a file by appending them with _FILE
|
||||||
|
@@ -78,7 +78,7 @@ return [
|
|||||||
'days' => 7,
|
'days' => 7,
|
||||||
],
|
],
|
||||||
'audit' => [
|
'audit' => [
|
||||||
'driver' => 'daily',
|
'driver' => envNonEmpty('AUDIT_LOG_CHANNEL', 'daily'),
|
||||||
'path' => storage_path('logs/ff3-audit.log'),
|
'path' => storage_path('logs/ff3-audit.log'),
|
||||||
'tap' => [AuditLogger::class],
|
'tap' => [AuditLogger::class],
|
||||||
'level' => 'info',
|
'level' => 'info',
|
||||||
|
Reference in New Issue
Block a user