rotation and output ot console and file: https://gist.github.com/panta/2530672ca641d953ae452ecb5ef79d7d lumberjack https://github.com/natefinch/lumberjack