Skip to content

Default internalLoggerLevel to OFF for Production use cases, and document how to set it for Development #207

Open
@leveyjam

Description

Description

By default, the faro-web-sdk will log at level.ERROR. However, the errors appear in the Application users' consoles, so are not useful unless in a development setting.

Proposed solution

internalLoggerLevel could be set to Level.OFF by default, and developer documentation updated to suggest setting it to INFO or ERROR level when initially setting up instrumentation for an application. Users should be instructed to turn the logging off when in a Production setting, unless they wish their users to see error messages caused by background telemetry transmission.

Context

Activity

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

Metadata

Assignees

No one assigned

    Labels

    improvementRequest a change of an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions