Adds support for --verbose and verbose option when running ParseServer (#1414)
This commit is contained in:
@@ -4,14 +4,6 @@ import S3Adapter from 'parse-server-s3-adapter'
|
||||
import FileSystemAdapter from 'parse-server-fs-adapter'
|
||||
import { useExternal } from './deprecated'
|
||||
|
||||
if (process.env.VERBOSE || process.env.VERBOSE_PARSE_SERVER) {
|
||||
winston.level = 'silly';
|
||||
}
|
||||
|
||||
if (process.env.DEBUG || process.env.DEBUG_PARSE_SERVER) {
|
||||
winston.level = 'debug';
|
||||
}
|
||||
|
||||
// Factory function
|
||||
let _ParseServer = function(options) {
|
||||
let server = new ParseServer(options);
|
||||
|
||||
Reference in New Issue
Block a user