change logging to debug