test logging module.