Switch to logging module