Logging works now