Why don't you call close() or commit() on the indexwriter? If log4j2 is serious about being an auditing platform some attention to flushing and such should be addressed. Note I am not an expert but I believe I am somewhere in the ballpark.
On Mon, Jul 24, 2017 at 8:27 PM, garydgregory <[email protected]> wrote: > Github user garydgregory commented on the issue: > > https://github.com/apache/logging-log4j2/pull/82 > > Thank you for your submission @liyuj ! Can you try the "Lucene5" > branch and confirm that it works for you? > > > --- > If your project is set up for it, you can reply to this email and have your > reply appear on GitHub as well. If your project does not have this feature > enabled and wishes so, or if the feature is enabled but not working, please > contact infrastructure at [email protected] or file a JIRA ticket > with INFRA. > --- >
