clearlog option added