Added Database logger and added the check for scada engine action