Before writing this query, I reviewed similar queries at:
I felt my query sounds similar but not the same.
Did you ever come across grouping of log messages on request entry and flush them on response close. i.e. the sequence of operations expected would be as below:
I am looking for such a possibility with currently available log4j implementation.
Please share your opinions.
Log4j is used by developers to keep track of what happens in their software applications or online services. It's basically a huge journal of the activity of a system or application. This activity is called 'logging' and it's used by developers to keep an eye out for problems for users.
From what I can see Apache log4j 2 is an open-source Java-based logging framework that should not be installed by default on your Apache server, hence you've not manually installed/configured it then CVE-2021-44228 should not affect your server.
include request id into log (you may use log4j's NDC). sort log file by this id and by timestamp.
i think it's wrong, to record events in the order, different from their original order. This may lead to a a very big confusion.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With