Commit graph

3 commits

Author SHA1 Message Date
0eafc6806b
fix(logrotate): Now creates dir needed
If the directory containing the target log file doesn't exist, try and
create the directory first
2025-03-24 17:28:38 +01:00
afcc54c831
BREAKING CHANGE: Remodelled logging setup
- other.ConfigureLoggingFromCliArgs has been renamed to
  other.ConfigureLogging
- The -logfile cli argument has been removed and replaced with an
  argument to other.ConfigureLogging. This argument takes a pointer to a
  string or nil. If it's a valid pointer, it's used just like the
  -logfile cli flag before
- The logfile, if requested via the previously mentioned parameter, can
  now be rotated by calling the returned function. If no logfile is
  specified, the returned function does nothing
2025-03-24 08:39:04 +01:00
eedc7b9dc1
Add log rotator 2025-03-24 08:23:36 +01:00