- The first of these is metric data. Storing metric data is not optional.
- The second consists of records made up of header (header), parameter (parameter), and body (body) fields that form the contents in these 4 regions of request and response messages transmitted in the order: Client → API Proxy, API Proxy → Backend API, Backend API → API Proxy, API Proxy → Client. Which of these fields will be in the log records can be determined according to need or based on the log server’s resource consumption.
Regions Where Log Records Are Kept
API Proxy messages can be logged in the following regions:Request from Client
Request messages coming from client to API Proxy
Request to Target
Request messages transmitted from API Proxy to Backend API
Response from Target
Response messages given from Backend API to API Proxy
Response to Client
Response messages sent from API Proxy to client
Production Environment Recommendations
Since all policies’ settings and tests are completed in API Proxies running in production environment, no development will be done. To prevent data from growing excessively in the database, logging of the following regions can be disabled:- Request to Target: Requests transmitted from API Proxy to Backend API
- Response from Target: Responses given from Backend API to API Proxy
Logging in Error Cases
Automatic Logging in Error Cases: Even if all logging fields are closed, if an error occurs in the request, all log fields are automatically recorded to detect the error. This feature can be turned on and off in general settings.
Formdata Requests
WebSocket and gRPC Requests
WebSocket and gRPC: Since WebSocket and gRPC requests are kept as data coming to Apinizer and data going out from Apinizer, only 2 regions exist in these types of API Proxies:
- Request from Client / Response to Client
- Request to Target / Response from Target
Log Settings Tab
The Log Settings tab on the API Proxy detail page is a dedicated tab for managing traffic log configuration. The log settings section that was previously at the bottom of the Settings tab is now managed from this separate tab.Three-Level Configuration: You can configure log settings at three levels:
- API Proxy level: General log settings for each API Proxy
- Environment level: Log settings specific to the selected environment (settings are stored per environment)
- Method level: Custom log settings for specific API methods (Method Overrides)
Log Settings Screen
Log settings can be configured in the Log Settings tab on an API Proxy basis and per environment. If integration settings have been made, which API Proxies’ traffic records will be sent to these integration targets can also be configured. These settings apply not only to Elasticsearch but also to all connector types such as Kafka, RabbitMQ, Database, ActiveMQ, Syslog, Webhook, Logback, Graylog.Screen Components
Top Bar:- Environment Selector: Select the environment to which log settings will apply. Settings are stored per environment.
- Save: Saves the changes made.
- Elasticsearch, Kafka, Logback, Syslog, Database, Graylog, RabbitMQ, ActiveMQ, Webhook connectors are listed.
- Enabled/disabled status is shown next to each connector.
- Method Overrides: Custom log settings can be defined for API methods. The number of defined overrides is shown with a badge.
- Enable/disable switch and log fields (header, parameter, body) are configured for the selected connector.
- Metadata and privacy settings are managed.

Global log settings valid across the platform can be configured from the General Settings screen.
Connector Settings
The following fields can be configured for each connector:| Field | Description |
|---|---|
| Enabled | Determines whether log sending to the connector is on or off. |
| Header | Enables logging of values in the Header field of the message in the related region. Manages whether header information in the message is logged or not. |
| Body | Enables logging of values in the Body field of the message in the related region. Manages whether body information in the message is logged or not. |
| Parameter | Enables logging of values in the Parameter field of the message in the related region. Manages whether parameter information in the message is logged or not. |
Method Overrides
You can define different log settings for specific API methods than the default connector settings. For example, you can disable body logging for a sensitive method while keeping it enabled for others.- Add Method Override: Define custom settings by selecting a method and connector type.
- Header, parameter, and body logging can be configured separately for each override.
- Existing overrides can be edited or deleted.
Privacy Settings
Privacy settings can be made to protect sensitive data in API Proxy traffic logs. These settings are configured when connectors are added to the environment. Which fields will be logged and which fields privacy operations (masking, deletion, hashing, encryption) will be applied to can be determined. For detailed information, you can refer to the Adding Connectors to Gateway Environments page. For environment configuration, see Gateway Runtimes.In the Log Settings section, log settings are managed on an API Proxy basis.
Related Pages
Next Steps
General Settings
API Proxy general settings
General Information Tab
API Proxy general information

