Don't log to file on device in debug mode