fix logger for signal