Patches for Check_Log problem with log rotation [sf#1593073] [#748]