-1

I want to do log when user log in to my app by get client ip, server ip, username, start time, end time write to text file [YY-MM-DD.log]. my app use node.js

1 Answers1

0

for making organized logs in nodejs you can use log4js . You can also build a new file with the current date name in your log directory and put your logs in it which this can be a help: write files in node-js

NaWeeD
  • 561
  • 5
  • 15