Automatic check if logging works