refresh of code
updated for new slogger
send log level as named param and default to DEBUG