Closed maddinat0r closed 5 years ago
Resolved in 5544cb210b255e73a762a4b17003f9c056ff2d19. Added a config option to clear the log file on startup:
Logger:
plugins/mysql:
LogLevel: All
Append: false # clears the log file on logging start instead of appending to it
Adding a way to clear the log on creation would be a nice feature. Probably pass a parameter to
CreateLogger
, check if it's set inLogManager::RegisterLogger
and clear/delete the log file.