set loglevel to DEBUG