Search code examples
logginghawtio

Where are the logs stored when using Hawtio logs and insight-log4j?


I'm researching the Hawtio Log Plugin with the insight-log4j bundle to get the logs of my application in Hawtio.

I would like to know where these logs are stored (memory/disk?) and how many logs are stored (time based/number?), so that I can determine how many resources I need.

The plugin page doesn't mention this and the link to the bundle is broken. On GitHub I'm not able to find any clues to the storage.


Solution

  • hawtio does not store logs, it only read from any existing logger such as log4j / slf4j.

    So you configure your existing logger as you want, and then the logger plugin from hawtio can read the log lines and show in the web console.