authelia/internal/logging
James Elliott 16e44cb13e
feat(logging): reopen on sighup (#7140)
This implements a method to send Authelia a SIGHUP signal to indicate it should reload the configuration file. This can be used in two ways. If using an external logrotate service you can tell Authelia to reopen the file and create it if it doesn't exist. Secondly if you use the existing time date replacements this will create a brand new log file with the current time.

Closes #4964

Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
Signed-off-by: Brynn Crowley <littlehill723@gmail.com>
Co-authored-by: Brynn Crowley <littlehill723@gmail.com>
2025-02-18 12:30:30 +00:00
..
const.go feat(logging): reopen on sighup (#7140) 2025-02-18 12:30:30 +00:00
file.go feat(logging): reopen on sighup (#7140) 2025-02-18 12:30:30 +00:00
logger.go feat(logging): reopen on sighup (#7140) 2025-02-18 12:30:30 +00:00
logger_test.go feat(logging): reopen on sighup (#7140) 2025-02-18 12:30:30 +00:00
printf.go refactor(logging): adjust hook registration (#7139) 2024-04-12 23:47:49 +10:00
util.go refactor(logging): adjust hook registration (#7139) 2024-04-12 23:47:49 +10:00
util_test.go refactor(logging): adjust hook registration (#7139) 2024-04-12 23:47:49 +10:00