to log sms messages to mysql database. I can't make it work
Try to log some messages for debugging and it never arrives to that point:
if __name__ == "__main__":
logger.debug("Start")
sleep(2)
print(' ', flush=True)
print(' ', flush=True)
print('***************** sms_logger *****************', flush=True)
print('*** Staring sms_logger, DB drive: MySQL', flush=True)
print('**********************************************', flush=True)
host = amqp_broker_host
port = amqp_broker_port
vhost = '/'
username = 'guest'
I tried everything so I believe that the problem is my lack of knowledge about the mtinterceptor scripts and/or configuration.
I would appreciate any help on this.