ppkarwasz commented on issue #2323: URL: https://github.com/apache/logging-log4j2/issues/2323#issuecomment-1965873380
Hi @hpcnx, Can you provide the source code of your logging call? According to the stacktrace, you are calling `info(String, Object...)` instead of `info(String)`: https://github.com/apache/logging-log4j2/blob/e613e9ed71279bb52753a4df810d61c11389df81/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java#L1283-L1286 The difference between the two is subtle: the former call uses parameterized logging (cf. [documentation](https://logging.apache.org/log4j/2.x/manual/messages.html)) and interprets all `{}` sequences as placeholders. The latter should print the string **as is**. Can you also provide all the exceptions? The `IllegalArgumentException` itself should not propagate to the user, but the exception **caused by it** might. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
