mirror of
https://github.com/corda/corda.git
synced 2024-12-22 06:17:55 +00:00
dc179d4ea1
* ENT-3057: Log hibernate warns and errors in different log If a hibernate error occurs (deadlock, for example) that would cause a flow to be sent to the hospital, hibernate logs the warnings and errors before we do. This results in duplication in the logs, and pollutes the log. To solve this, we create a new log appender named diagnostic-{node-name}.log and log any org.hibernate messages of warn and above to that file. This way, messages are not lost, which means that the information can be retrieved if need be. * Corrected indentation of comment (changed tab to space) * Updated node-administration document to mention diagnostic logging change * Fixed integration test. It was breaking because it was fetching the first log file in the folder, assuming there would be only one. This assumption is now invalid because the diagnostic log file that was introduced. Two tests were found that used similar logic to find a log file to examine, hence both were corrected to look for log files beginning with "node" * Updated documentation as per review comments. |
||
---|---|---|
.. | ||
src | ||
build.gradle |