logger: clean code
logger: ignore panic issue