Skip to content

Verbose logging without exposing passwords #1704

Closed
@all-iver

Description

@all-iver

Environment Setup

Elastic beanstalk.

Steps to reproduce

Enable verbose logging via environment variables.

Logs/Trace

verbose: GET /parse/login { host: 'xxx',
...
'content-type': 'text/plain',
'user-agent': 'node-XMLHttpRequest, Parse/js1.8.3 (NodeJS 4.3.0)',
"username": "[email protected]",
"password": "plain-text-password"
}

Apologies if this is not a Parse specific question, but what are my options for logging? I see that I can enable VERBOSE=1 in my environment settings, but when I do that I see log statements with passwords in plain text like the above. I'd like to avoid having passwords logged like this. I'm not positive that log is actually coming from Parse, but it is formatted like the other Parse messages so I'm assuming it is?

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions