logger and mutex_thread