1. add warn and crit
2. fix daily rotatate