Enable loss less rotation of log files

This commit is contained in:
Marco Jantke 2017-09-15 15:02:03 +02:00 committed by Traefiker
parent 0a0cf87625
commit cf387d5a6d
5 changed files with 175 additions and 5 deletions

View file

@ -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)