Tiledesk Docs
Search…
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

Configure the log level

The default log level is INFO. If you want to change the log level use the LOG_LEVEL environment property as follow:
1
LOG_LEVEL="verbose"
Copied!

Enable logs to MongoDB

Optionally you can write the logs to the MongoDB database (adding a MongoDB transport to Winston) with the following environment property:
1
WRITE_LOG_TO_MONGODB="true"
Copied!
You can also change (default value is INFO) the level for the MongoDB transport with the following property:
1
LOG_MONGODB_LEVEL="error"
Copied!