Skip to content
This repository was archived by the owner on Dec 8, 2020. It is now read-only.
This repository was archived by the owner on Dec 8, 2020. It is now read-only.

add_context silently prevents logs from appearing #353

@dzfranklin

Description

@dzfranklin

When I attach any context to a process no logs appear from that process in the timber dashboard. For example, I took the following context from the examples and put it in Application.start for a Phoenix app.

def start(_type, _args) do
  Timber.add_context(user: %{id: "d23f6h7ffx", email: "[email protected]"})
  Logger.info("Starting application")
end

I have the application configured to log to both Timber and the default console logger. The log "Starting application" appears in the console, but not on the timber.io dashboard. When I remove the call to Timber.add_context "Starting application" appears on the timber.io dashboard.

My timber account is under the username [email protected]

My dependency versions

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