Skip to main content
Version: 1.0.x

Lunar Logs

Logging is essential for monitoring, troubleshooting, and optimizing the Lunar.dev API Consumption Gateway. Logs are stored in /var/log/lunar-proxy, with key files providing insights into specific operations:

  • aggregation-output-plugin.log: Tracks discover feature activities, helping you monitor aggregation and proxy configuration updates.
  • fluent-bit.log: Logs related to Fluent Bit, a data exporter used for exporting metrics and logs from the API Gateway.
  • lunar-engine.log: Captures logs from the core Lunar Engine, crucial for understanding the system's behavior, diagnosing issues, and ensuring smooth operation of the proxy.
  • lunar-proxy.log: Captures the access logs passing through the gateway.

Gateway Startup Indicator

The Gateway now provides a startup message that helps users understand the state of key components during initialization. This message offers visibility into the status of various components, making it easier to troubleshoot any startup issues.

The startup message includes:

{
"lunar-hub": {
"APIKey": "dd123456-1234-1234-1234-12345abcdefg",
"Lunar Hub": "Connected"
},
"Redis": {
"Prefix": "lunar",
"URL": "redis://lunar-redis:6379",
"Status": "Successfully initialized Redis Client"
},
"lunar-engine": {
"FailSafe": "Enabled",
"Gateway Version": "1.0.0",
"Tenant Name": "CompanyName",
"Log Level": "TRACE",
"Bind Port": 8000,
"HealthCheck Port": 8040,
"Engine Mode": "Lunar Flows"
}
}
CTRL + M