removed redundant logging
new log levels
config handling