You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "G0-G4 (via GitHub)" <gi...@apache.org> on 2023/04/03 08:18:49 UTC
[I] log4j2 configuring ColumnMapping type using properties format (logging-log4j2)
G0-G4 opened a new issue, #1405:
URL: https://github.com/apache/logging-log4j2/issues/1405
## Description
It is impossible to provide ColumnMapiing type in properties format.
For example I want to write `journal_id` in database as an integer. I can't write something like this
```
appender.message_appender.columnMappings[1].type = ColumnMapping
appender.message_appender.columnMappings[1].name = journal_id
appender.message_appender.columnMappings[1].type = java.lang.Integer # can't have two type parameters
```
## Configuration
**Version:** 2.11.0
**Operating system:** windows 10
**JDK:** OpenJDK 17.0.2
--
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: notifications-unsubscribe@logging.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] log4j2 configuring ColumnMapping type using properties format (logging-log4j2)
Posted by "ppkarwasz (via GitHub)" <gi...@apache.org>.
ppkarwasz closed issue #1405: log4j2 configuring ColumnMapping type using properties format
URL: https://github.com/apache/logging-log4j2/issues/1405
--
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: notifications-unsubscribe@logging.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] log4j2 configuring ColumnMapping type using properties format (logging-log4j2)
Posted by "ppkarwasz (via GitHub)" <gi...@apache.org>.
ppkarwasz commented on issue #1405:
URL: https://github.com/apache/logging-log4j2/issues/1405#issuecomment-1499486893
@G0-G4,
We'll try to fix the problem in the next release by adding an alternative name for the `type` property.
BTW: you are using a version with several security vulnerability. Upgrade to the latest one.
--
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: notifications-unsubscribe@logging.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org