Skip to content

cannot disable cloud code logs #2855

Description

@benishak

Env

Parse Server 2.2.22

Problem

I want to disable these logs

info: afterSave triggered for .... 

I try this

loggerAdapter: {
        module: "parse-server/lib/Adapters/Logger/WinstonLoggerAdapter",
        options: {
            level: config.DEBUG ? "info" : "error"
        }
    },

and try also this

console.info = function(){}

but these logs still appear in the console pm2 logs

Activity

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

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