fix: use LOG_LEVEL to set server log severity (#4937)
This commit is contained in:
@@ -170,6 +170,12 @@ export class Environment {
|
||||
*/
|
||||
public DEBUG = process.env.DEBUG || "";
|
||||
|
||||
/**
|
||||
* Configure lowest severity level for server logs
|
||||
*/
|
||||
@IsIn(["error", "warn", "info", "http", "verbose", "debug", "silly"])
|
||||
public LOG_LEVEL = process.env.LOG_LEVEL || "info";
|
||||
|
||||
/**
|
||||
* How many processes should be spawned. As a reasonable rule divide your
|
||||
* server's available memory by 512 for a rough estimate
|
||||
|
||||
Reference in New Issue
Block a user