Skip to content

Introduce logging framework #238

Description

@frank-bee

Currently errors are thrown as follows: throw Error("rocksdb open failed: " + err);
Like this they end up on standard error (logs to standard out).
This is very difficult to parse and to used e.g. for alertings.

Let's introduce a log framework, e.g.
https://github.com/pinojs/pino

see also #239

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions