Switch log to debug