local file logging works