Forum Discussion

Piotr_Lewandows's avatar
Piotr_Lewandows
Icon for Altostratus rankAltostratus
Jun 06, 2016

Local Traffic Policy (12.1.x), log action and tcl commands

Hi,

 

I am trying to use tcl commands in message for log action. I tried tcl:[HTTP::uri] as well as "tcl:[HTTP::uri]" but all I am getting is logging text instead URI like:

 

This is tcl:[HTTP::uri]

 

instead of

 

This is /index.html

 

Question is if this is bug or tcl commands can't be used in log action?

 

Piotr

 

2 Replies

  • Hi,

    Strange behavior but it seems the line must start with tcl:

    tcl:The URI is [HTTP::uri]
    
  • Hi,

     

    Thanks a lot, it's indeed working this way. I will never figure it out reading Local Traffic Policy guide :-(

     

    Piotr