Added support for logging to log4stuff