Cannot Disable Asynchonous Audit Logging - Error

Version 1.12.0

I tried to set:

opendistro_security.audit.threadpool.size: 0

And I get:

[2021-02-23T15:04:03,461][WARN ][c.a.o.s.s.ReflectionHelper] [opendistro-es-client-7d667cbb96-5lg7m] Unable to enable Auditlog Module due to java.lang.IllegalArgumentException: Incorrect thread pool size: 0 configured for audit logging.

@jshrue

Have you found any solution or workaround to this issue? I’ve tested OpenSearch 1.1.0 (plugins.security.audit.threadpool.size: 0) and it returns the following error.

[2021-10-18T16:49:29,170][ERROR][o.o.b.OpenSearchUncaughtExceptionHandler] [opensearch-node1] uncaught exception in thread [main]
org.opensearch.bootstrap.StartupException: java.lang.IllegalArgumentException: Incorrect thread pool size: 0 configured for audit logging.

This is still a bug. Try to report it in OpenSearch github