Process Logging

Non-blocking process logs written to a file

Versions marked “overview” do not contain this page. Selecting one opens that version’s documentation overview.

Category: Practical
Task: Non-blocking process logs written to a file

Prerequisites: The product runtime and any backend services referenced by this configuration.

Run it: Use ghcr.io/praxis-proxy/praxis:0.7.2 and follow the first reverse-proxy tutorial to mount and start the configuration.

This configuration comes from the selected release. The example has not been run here; external services are not bundled.

Download the source file.

# Process Logging: Non-Blocking File Output
#
# Non-blocking process logs written to a file. Praxis does not rotate the file;
# use journald, logrotate, or a container log driver for rotation and retention,
# or log to stdout/stderr and let the platform capture it.
#
runtime:
  logging:
    output: file
    file_path: /tmp/praxis-process.log
    non_blocking: true
    buffer_size: 8192

listeners:
  - name: default
    address: "127.0.0.1:8080"
    filter_chains: [main]

filter_chains:
  - name: main
    filters:
      - filter: static_response
        status: 200
        body: "ok"