Updated triggers
Using python logging module