Added custom logging module support.