F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

3 Replies

  • If a runtime exception is thrown from an iRule, it will go to /var/log/ltm (unless you changed the syslog-ng configuration). If you use the

    log
    command, the destination will depend on two things: 1. the declared facility; and 2. the syslog-ng config. By default, if you don't declare a facility (e.g., you say log "this is a message", then the facility is local0. Otherwise, you can (and really, should) declare the facility (e.g., log local2. "This is a message"). Where the message goes depends on the syslog-ng configuration. Most people don't mess with that (and generally, it's not a good idea). Assuming you have not, then this solution article explains the defaults:

    If you are logging non-debug message from an iRule, you should strongly consider using High-Speed Logging instead of the

    log
    command:

  • If a runtime exception is thrown from an iRule, it will go to /var/log/ltm (unless you changed the syslog-ng configuration). If you use the

    log
    command, the destination will depend on two things: 1. the declared facility; and 2. the syslog-ng config. By default, if you don't declare a facility (e.g., you say log "this is a message", then the facility is local0. Otherwise, you can (and really, should) declare the facility (e.g., log local2. "This is a message"). Where the message goes depends on the syslog-ng configuration. Most people don't mess with that (and generally, it's not a good idea). Assuming you have not, then this solution article explains the defaults:

    If you are logging non-debug message from an iRule, you should strongly consider using High-Speed Logging instead of the

    log
    command: