search cancel

Meaning of the Gateway 10 log fields

book

Article ID: 215364

calendar_today

Updated On:

Products

CA API Gateway Precision API Monitoring Module for API Gateway (Layer 7)

Issue/Introduction

Need to know about the structure of logs. 
What each field in the log means, in addition to Time, Severity and Message.
Mainly code numbers.
Example: 
2021-05-17T15:19:00.041-0300 INFO    174 com.l7tech.server.policy.assertion.ServerAuditDetailAssertion: -4: responseCode=404,body=

Environment

Release : 10.0

Component : APIGW

Resolution

1. The info about the codes used in the log file can be found on documentation , under "Audit codes details"

https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/10-0/reference/troubleshoot-the-gateway/audit-detail-codes.html

2. From the example the details are the following :

<date:time> <severity> <thread> <class/package com.l7tech.*> <message -d i.e -4> <message in this case is audit so user constructed>

2021-05-17T15:19:00.041-0300 INFO 174 com.l7tech.server.policy.assertion.ServerAuditDetailAssertion: -4: responseCode=404,body=