Added basic log rotation