0

I have a web application and I need to implement a library that generates a log with information of the "health" of the application and also the server hardware. The generated log must contain processor usage information (cpu) and memory. Can I do this with Log4j? If not, is there any Java library that allows me to get this information?

1 Answers1

0

First of all, you need a library. Two options:

After this, you can use log4j for log that information.

Community
  • 1
  • 1
Paul Vargas
  • 41,222
  • 15
  • 102
  • 148