ltm rule command ANTIFRAUD enable logΒΆ

iRule(1)					  BIG-IP TMSH Manual					     iRule(1)

ANTIFRAUD::enable_log
       Enables Anti-Fraud TMM logs for the current transaction.

SYNOPSIS
       ANTIFRAUD::enable_log (LOG_LEVEL)?

DESCRIPTION
       ANTIFRAUD::enable_log
	   Enables Anti-Fraud TMM logs at 'Informational' (default) log level for the current transaction.

       ANTIFRAUD::enable_log LOG_LEVEL ;
	   Enables Anti-Fraud TMM logs at 'LOG_LEVEL' (can be any of:
       'Error'/'Warning'/'Notice'/'Informational'/'Debug') log level for the current transaction.

RETURN VALUE
       ANTIFRAUD::enable_log
	   No return value (enables Anti-Fraud TMM logs at default log level for the current transaction).

       ANTIFRAUD::enable_log LOG_LEVEL
	   No return value (Enables Anti-Fraud TMM logs at 'LOG_LEVEL' log level for the current transaction).

VALID DURING
EXAMPLES
	when HTTP_REQUEST {
	    if { [HTTP::header exists "Antifraud-Enable-log" ] } {
		ANTIFRAUD::enable_log
		log local0. "Logs enabled"
	    }
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-14.1.0
		   --First introduced the command.

BIG-IP						      2020-06-23					     iRule(1)