Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Logging

Michael Puncel edited this page Jan 7, 2015 · 4 revisions

Logging Configuration

The p2 preparer logs to stdout by default. It supports adding additional destinations for log output right now. Currently the only supported log destination type is socket.

To add a log destination, add config like the following to P2's pod manifest:

config:
  preparer:
    extra_log_destinations:
    - type: socket
      path: /data/pods/p2-preparer/log.sock

This will cause log messages to be written best-effort to path. This is useful when deploying a buddy process in the pod to do processing of log messages, such as sending them to a Kafka deployment.

Clone this wiki locally