Forum Discussion

Mohanad's avatar
Mohanad
Icon for Cirrostratus rankCirrostratus
Sep 17, 2019

how to add logging to irule

Hi everyone

i want to add logging for my irule, thank you

log local0. "ALERT! - IP [IP::client_addr] is using [SSL::profile]"

when CLIENT_ACCEPTED {
  switch [IP::client_addr] {
    10.222.56.10 {
      SSL::profile Web-Staging-NoClientCert
    }
    default {
      SSL::profile Web-Staging-Client
    }
  }
}

2 Replies