Closed berkingurcan closed 2 weeks ago
Solved: https://github.com/MinaFoundation/gptSurveySummarizer/pull/56 But need to check how to configure in ENV, because I set the log level in here:
Where should I get the LOG LEVEL value? @johnmarcou
Solved: #56 But need to check how to configure in ENV, because I set the log level in here:
89d4b76#diff-4c57e1eda9c7d9cb0e46d669ec83dfb50a214e0263ddef7b2245d5a5bc4d57d9
Where should I get the LOG LEVEL value? @johnmarcou
@berkingurcan Usually it's nice to have an environment variable to set the logging level, such as GPT_SURVEY_SUMMARIZER_LOG_LEVEL
, or may be just GSS_LOG_LEVEL
. Default could be info
.
As @johnmarcou requested, it is good practice to add log level for logs with timestamps. Can be used: https://www.npmjs.com/package/loglevel