fix logging to work with log4j and have a format similar to netlogger
make logger output similar to netlogger format