Check if logging