Skip to main content

Config Keys

This list is generated from module default configuration files.

KeyDefaultEnvironmentDescriptionSource
logs.enabledLOGS_ENABLEDFlag used to enable or disable the application logging functionality. We recommend setting this flag to true since debugging and seeing what happens, when an error occurs, is better than not seeing anything. /logs.ts
logs.type"console"LOGGER_TYPEThe type of logger used in the application. At the moment the framework support only 4 types: console, file, json, json_file. You can find these types in the `LoggerType` Enum. /logs.ts
logs.level"debug"LOG_LEVELThe level of detail you want to see in the logs of your application. The levels supported by the framework are: `error`, `warn`, `info`, `http-old`, `verbose`, `debug`, `silly`. The `silly` level logs everything while `error` only the errors that appear in the application. /logs.ts
logs.file"app.log"LOG_FILEThe file used to store the log messages. Fill a value to this configuration parameter only if you want to store the logs in a file. /logs.ts
logs.folder"./storage/logs"LOG_FOLDERThe location where you want to store the log files when using the file logger. Set this to a value outside of your application. /logs.ts