Skip to main content

Configuration

Configure the log ingestion pipeline.


Configuration File

All logger settings are loaded from:

application.conf

Using Typesafe Config.


Example Configuration

dazzleduck_logger {
logDirectory = "/var/log/my-app"

server {
endpoint = "http://localhost:8081/v1/ingest"
jwtToken = "${DDAUTH_TOKEN}"
}

batching {
batchSize = 1000
flushIntervalMs = 2000
queueCapacity = 10000
}
}

Key Settings

Log Source

FieldDescription
logDirectoryDirectory containing *.log files

HTTP Ingestion

FieldDescription
endpointDazzleDuck /v1/ingest URL
jwtTokenJWT for authenticated ingestion

Batching & Backpressure

FieldPurpose
batchSizeLogs per Arrow batch
flushIntervalMsMax delay before sending
queueCapacityBackpressure control

Failure Handling

  • Logs are dropped when the queue is full
  • Application threads are never blocked
  • Failures are logged locally