Disable "amazon_es" output plugin console logs

Hi,

I use a docker logstash (7.1.1) and write to AWS ES via amazon_es output plugin.

The plugin as such works fine, but then all the messages are printed on the console and that generates a lot of I/O on disk, making the box unresponsive.

I have tried ,
1.setting logstash.yml log.level: error, doesn't help
2. Overwrote log4j2.properties with this content, doesn't help either

status = error
name = PropertiesConfig
    filters = threshold

filter.threshold.type = ThresholdFilter
filter.threshold.level = debug

appenders = console

appender.console.type = Console
appender.console.name = STDOUT
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n

rootLogger.level = error
rootLogger.appenderRefs = stdout
rootLogger.appenderRef.stdout.ref = STDOUT

Are there other ways to switch off console logs?

Appreciate your help on this.

Thanks,
Arun