Skip to content

Introduce logging framework #238

@frank-bee

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

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