Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

use a logging library or allow overriding console.log #80

@camerondeleone

Description

@camerondeleone

What

posthog-node package includes hard-coded console.debug calls. Can this be removed? They are flooding our logs with unstructured logs.

See conversation here: https://posthog.slack.com/archives/C03JJKLEC8L/p1670622461832859 (internal)

Proposed solution

Either use a logging library (eg Pino or Roarr) or allow overriding console.log

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