Enable loss less rotation of log files
This commit is contained in:
parent
0a0cf87625
commit
cf387d5a6d
5 changed files with 175 additions and 5 deletions
|
@ -27,7 +27,7 @@ func (server *Server) listenSignals() {
|
|||
}
|
||||
|
||||
if err := log.RotateFile(); err != nil {
|
||||
log.Errorf("Error rotating error log: %s", err)
|
||||
log.Errorf("Error rotating traefik log: %s", err)
|
||||
}
|
||||
default:
|
||||
log.Infof("I have to go... %+v", sig)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue