Log rotation of stdout