@@ -25,6 +25,17 @@ One important question with a logging library is: is it fast enough?
2525While Log4cxx may not be the fastest logging implementation, it is more than fast
2626enough for the vast majority of cases.
2727
28+ Using Log4cxx 1.6 you can even use microsecond timestamps
29+ in TRACE level logging messages to quickly get a sense of
30+ where your application's workload is concentrated.
31+ The LOG4CXX_XXXX_ASYNC macros in Log4cxx 1.6
32+ just capture values in a buffer
33+ and by adding the new [ asynchronous output setting] to your configuration file,
34+ the values are converted to text in a background thread.
35+ That combination prevents TRACE level logging being the dominate CPU load
36+ of your application's thread and
37+ provides the lowest overhead logging in the history of Log4cxx.
38+
2839While Log4cxx can generate 2,000,000 log messages/second,
2940skipping a disabled logging request requires only a few nano-seconds,
3041so application performance is not affected when
@@ -142,3 +153,4 @@ When logging floating point values from a high priority thread,
142153and you cannot use a background thread to format and write the log data,
143154the LOG4CXX_ [ level] _ FMT series of macros impose the least overhead.
144155
156+ [ asynchronous output setting ] :configuration-files.html#asynch-output
0 commit comments