add loglevel

added tools
added loglevel
test logfile generated