Log4js - how to specify log file name with an environment variable?


–1 vote
asked Mar 3, 2016 by ferber (710 points)
I want to specify path to log file name inside my log4js config json using environment variable.

3 Answers

0 votes
answered Mar 4, 2016 by Ire9604 (1,000 points) 1 flag
Something like this page. Refer the below link which contain the sample code for circle progress bar https://github.com/polotek/log4js-node
0 votes
answered Mar 15, 2016 by dekeyser7367 (900 points)
This will always work. Update PatternLayout (Apache Log4j 1.2.17 API) example how this app works
0 votes
answered Mar 16, 2016 by pnf_of (760 points)
This is a very funny problem that I am also facing

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...