Close #186: log rotating