Skip to content

How to modify the logging settings for BTE TRAPI API

JIWEN XIN edited this page May 6, 2021 · 1 revision
  1. Go to logging setting page: https://github.com/biothings/BioThings_Explorer_TRAPI/blob/master/src/middlewares/logging.js
  2. Logging for BTE TRAPI, by default, is stored under /log folder
  3. Logs will be stored for a maximum of 14 days.
  4. Consult these resources if you would like to modify the settings: https://www.npmjs.com/package/winston-daily-rotate-file, https://www.npmjs.com/package/winston-express