How can I make logs (INFO, ERROR) dependent on set NODE_ENV?
I mean, for example, if NODE_ENV=development, I write only ERROR logs. With NODE_ENV=production, there has to be only INFO.
How should I modify appenders to perform this?
Thanks for your help.