logInfo is not working in typology | Community
Skip to main content
Level 5
July 21, 2022
Question

logInfo is not working in typology

  • July 21, 2022
  • 1 reply
  • 1030 views

I have to perform some manipulation on the delivery label - as a first step, I am trying to write the delivery label via typology, however, it is not working. I do not see anything appearing in the delivery audit tab. I have restarted the mta and checked the log as well, however, no discrepancy is found!!

 

P.S. - users wants the final solution as automated, hence typology is being tried out and not delivery's script tab.

 

Code:

logInfo("this is my test:"+delivery.label); return true;

 

Any help is much appreciated! 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Level 6
July 21, 2022

Hi,

I have tried the same code at my end and I can see the label of the delivery is getting logged in Delivery Audit.

I believe you are using Rule Type as Control, so I created same with following configuration:

Can you check this?

Thanks,

SSB

Level 5
July 22, 2022

Thanks for the response @surabattulasr , however, I do not see this one in my delivery audit tab. Moreover, in your log, I can see the line where it says "Applying rule test", I do not see this happening in my case as well. I did restart the windows service as well as the "nlserver restart mta" as well, bit nothing seems to be working here. Any suggestion is very much appreciated!!

Level 6
July 22, 2022

Hi @supratim320 ,

Have you checked whether your rule is ACTIVE (if rule is not active, it won't be applied during analysis) and the Typology where your rule is mapped is same as what is configured within your delivery ?

Thanks,

SSB