Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-3668

asyncLoggerRingBufferSize description does not explain how to set the value correctly

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.20.0
    • None
    • Documentation
    • None

    Description

      The documentation for asyncLoggerRingBufferSize found here, while good at explaining what you are at setting, does not explain how to set it correctly.

      It also misses the part described in this stackoverflow post

      So im still not sure what i have to put into my log4j2.component.properties. Do i have to write
      log4j2.asyncLoggerRingBufferSize=512*1024
      Or do i write
      log4j2.asyncLoggerRingBufferSize=524288
      Or do i put in 512 only, if i want 512 slots?
       
      Would be nice if the documentation would be clarified, since i also didn't find anything else for this parameter on google.
       
      Sidenote: Jira has 2.20.0 marked as unreleased, when it apparently has been released since February 2023.

      Attachments

        Activity

          People

            Unassigned Unassigned
            wlfbck Wolff Bock von Wuelfingen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: