Print log when in background mode