We are building a web application, and my boss insists on using lucene, because the logs will be indexed, and the administrator can search and execute the request after.
But, IMHO, lucene is an indexing API, so I think itโs correct to use it to index things, and not to store logs. An administrator is usually an administrator, not a dumb user. He could open the log files perfectly and search inside it using CTRL + F, for example, a shortcut.
log4j is a log API, so it means that it should be used to log things. I think this is the right choice.
I'm right? What do you think about this? Is there an API that can be used to request a log file?
thanks.
source share