Code now use python logging module, message processing is done by
message types