Enable logging for debugging purposes.