dirken
Sep 07, 2021Nimbostratus
log entry cut off - max size for variable or log entry?
I am logging the Java Web Token (JWT) during an Oauth login. The iRule works in general, but the JWT is cut off after 890 characters.
Cannot find any reason for it, as log entries and variables should be able to hold more than that. Here's my iRule:
when HTTP_REQUEST {
if { [HTTP::header exists Authorization] and [HTTP::header Authorization] contains "Bearer" } {
set jwt [getfield [HTTP::header Authorization] " " 2]
log local0. "JWT: Client [IP::client_addr] arrived with JWT: $jwt"
}
}