Small refact and add template for log without datetime