Arranged logging system to be more simple.