Add support for logging module