简体   繁体   中英

Log4J2 main arguments in configuration

I am trying to access main arguments from xml config file of log4j2. It works if i use index based arguments, but when i switch to name based arguments ${main:--file} it stops working.

Any thoughts on this?

You may have found a bug. Please raise a ticket on the log4j2 Jira issue tracker .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM