Skip to content

All logs are being printed when verbose = false #3319

@arturogutierrez

Description

@arturogutierrez

Issue Description

Hello!

I have my server running with pm2 with the following configuration:

clientKey: *********
cloud: /home/parse/*****/cloud/main.js
mountPath: /parse
maxUploadSize: 20mb
userSensitiveFields: email
verbose: false
logLevel: error
serverURL: http://localhost:1337/parse
parse-server running on http://localhost:1337/parse

But I can see all verbose logs when my app calls to any cloud function, example:

2017-01-04T10:47:42.731Z - RESPONSE from [POST] /parse/functions/getChallengeHistory: {
  "response": blah blah blah.......

Is that normal? Becuase my server's disk will be full soon then 😄

Steps to reproduce

  1. Launch parse-server through pm2 with "VERBOSE": false" in the ecosystem.json file
  2. Call to one cloud function
  3. See the printed logs in the parse-server log files or through pm2 logs

Expected Results

No verbose logs

Actual Outcome

Everything is being printed

Environment Setup

  • Server

    • parse-server version: 2.3.1
    • Operating System: Ubuntu 16.04
    • Hardware: Digital Ocean Droplet
    • Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): Digital Ocean
  • Database

    • MongoDB version: 3.0.10-1.5
    • Storage engine: Rocksdb
    • Hardware: Digital Ocean Droplet
    • Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): Digital Ocean

Logs/Trace

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