fix Log class
fix LogCounter