Chaning into logger

temporary set rotate to 1M