sasjs / server

Build Apps on Base SAS
https://server.sasjs.io
MIT License
20 stars 3 forks source link

set logging levels #145

Closed allanbowe closed 2 years ago

allanbowe commented 2 years ago

It should be possible to set the log level in the .env file, eg:

To change in code, https://github.com/sasjs/server/blob/main/api/src/app.ts#L38

the default should be:

LOGFORMAT_MORGAN=COMMON

saadjutt01 commented 2 years ago

Using LOG_FORMAT_MORGAN instead of LOGFORMAT_MORGAN

ghost commented 2 years ago

:tada: This issue has been resolved in version 0.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: