Use built in logging module.