log-winston-elk-util
v1.1.3
Published
This package include winston to show log in three way: 1-console 2-in "log.info" file 3-with http network to connect with ELK service
Downloads
2
Readme
This package include winston to show log in three way: 1-console 2-in "log.info" file 3-with http network to connect with ELK service
the winston config get some attribute from enviroment: .defaultMeta: from process.env.APP_NAME: to show Which service is used. .host: to show the server address to connect for ELK with process.env.LOGSTASH_ADDRESS .port: to show the server port to connect for ELK with process.env.LOGSTASH_PORT