Trival change to improve search hits for log4j2

Make log4j2 consistence - to make docs search easier (log4 2) wasn't
catch by 'log4j2' search.
This commit is contained in:
Wawrzyniec Niewodniczański 2018-12-14 16:34:19 +00:00
parent 1a065ef13d
commit 2acd973cb0
2 changed files with 3 additions and 3 deletions

View File

@ -11,9 +11,9 @@ option will affect all modules.
It may be the case that you require to amend the log level of a particular subset of modules (e.g., if you'd like to take a It may be the case that you require to amend the log level of a particular subset of modules (e.g., if you'd like to take a
closer look at hibernate activity). So, for more bespoke logging configuration, the logger settings can be completely overridden closer look at hibernate activity). So, for more bespoke logging configuration, the logger settings can be completely overridden
with a `Log4j 2 <https://logging.apache.org/log4j/2.x>`_ configuration file assigned to the ``log4j.configurationFile`` system property. with a `Log4j2 <https://logging.apache.org/log4j/2.x>`_ configuration file assigned to the ``log4j.configurationFile`` system property.
The node is using log4j asynchronous logging by default (configured via log4j2 properties file in its resources) The node is using log4j2 asynchronous logging by default (configured via log4j2 properties file in its resources)
to ensure that log message flushing is not slowing down the actual processing. to ensure that log message flushing is not slowing down the actual processing.
If you need to switch to synchronous logging (e.g. for debugging/testing purposes), you can override this behaviour If you need to switch to synchronous logging (e.g. for debugging/testing purposes), you can override this behaviour
by adding ``-DLog4jContextSelector=org.apache.logging.log4j.core.selector.ClassLoaderContextSelector`` to the node's by adding ``-DLog4jContextSelector=org.apache.logging.log4j.core.selector.ClassLoaderContextSelector`` to the node's

View File

@ -130,7 +130,7 @@ The example CorDapp has the following structure:
The key files and directories are as follows: The key files and directories are as follows:
* The **root directory** contains some gradle files, a README and a LICENSE * The **root directory** contains some gradle files, a README and a LICENSE
* **config** contains log4j configs * **config** contains log4j2 configs
* **gradle** contains the gradle wrapper, which allows the use of Gradle without installing it yourself and worrying * **gradle** contains the gradle wrapper, which allows the use of Gradle without installing it yourself and worrying
about which version is required about which version is required
* **lib** contains the Quasar jar which rewrites our CorDapp's flows to be checkpointable * **lib** contains the Quasar jar which rewrites our CorDapp's flows to be checkpointable