Is it possible to disable integrated log rotation? #267
-
I will be rotating logs externally in combination with sending SIGUSR1. Is it possible to disable sftpgo's rotation based on size and log backup handling? I know one option is to just put some absurdly high values for those options, but that kinda doesn't feel right. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, we use lumberjack for rotating logs, I did a quick lock at its code, while it allows to disable log rotation based on max age the rotation based on size will always happen so currently the only way is to set the size high enough. I could try to send a patch but it is unlikely it will be accepted, this feature was already asked by others in the past and the author does not like it |
Beta Was this translation helpful? Give feedback.
Hi,
we use lumberjack for rotating logs, I did a quick lock at its code, while it allows to disable log rotation based on max age the rotation based on size will always happen so currently the only way is to set the size high enough. I could try to send a patch but it is unlikely it will be accepted, this feature was already asked by others in the past and the author does not like it