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.

SQL parameters are not logged #289

@axelson

Description

@axelson

With {Timber.Integrations.EctoLogger, :log, []} listed in the :loggers key for my Ecto Repository I see log statements like this:

[debug] Processed SELECT c0."id", c0."name" FROM "communities" AS c0 WHERE (c0."id" = $1) in 3ms

But I would expect to see the value of the parameters (in this case it is $1). Is there a reason that they are hidden? Can they be added back? (note: by default they are logged by Ecto).

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