Configure the logging system

Tiledesk uses Winston as logging library. The Tiledesk server is configured with the following transports:

  • the console

  • logs files under /logs/app.log folder

The default log level is INFO. To change the log level set the LOG_LEVEL environment property:

.env
LOG_LEVEL="verbose"

Optionally you can write the logs to the MongoDB database (adding a MongoDB transport to Winston) with the following environment property:

.env
WRITE_LOG_TO_MONGODB="true"

You can also change (default value is INFO) the level for the MongoDB transport with:

.env
LOG_MONGODB_LEVEL="error"

PreviousEmail parameters and templates configuration

Last updated 2 years ago