Skip to content

Configure timestamps in internal logs #375

@zmitchell

Description

@zmitchell

Feature Request

Use Case:

We currently integrate process-compose with our CLI, and write the internal logs to a file via the -L flag so that we can surface them on request.

Proposed Change:

Allow configuring the timestamps of the internal logs. It looks like there's already a a way to configure other logs via the project-level config, but it doesn't look like there's a way to configure the internal logs.

This is important because a program that integrates with process-compose may want to align all timestamps on UTC, for example, whereas process-compose internal logs only display logs with local timestamps. Being able to configure the timestamps would allow the caller to align process-compose timestamps with other timestamps configured by the caller.

I do think that local time is the best default for the internal logs, but allowing the timestamps to be configurable is a useful feature for us.

Who Benefits From The Change(s)?

  • Anyone using logs to debug process-compose
  • Anyone using logs to debug correlations between system events and process-compose events

Alternative Approaches

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions