Skip to content

Add option to stop waterline from posting multi-line log entries #4737

@alxndrsn

Description

@alxndrsn

Waterline provides some really helpful error messages when there are weird/incorrect database configurations. However, these are sent as multi-line log entries, which doesn't really make sense in production systems. (e.g. MIGHT_BE_YOUR_FAULT).

It would be great to have an option to change these multi-line messages to be sent as a single line.

Alternatively, if waterline were to log via the sails logger rather than using console.error, console.warn etc. then it would be easier to control these messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    has prThere is an open pull request (in this repo or elsewhere) related to this issue.ormRelated to models, datastores, orm config, Waterline, sails-hook-orm, etc.proposalwhat do you think?Community feedback requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions