Add real logging call inside main signal handler