You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "krallus (via GitHub)" <gi...@apache.org> on 2023/04/22 03:11:05 UTC

[PR] Expanded more elements to Log4j-config.xsd (logging-log4j2)

krallus opened a new pull request, #1441:
URL: https://github.com/apache/logging-log4j2/pull/1441

   While certainly not a complete addition of all missing appenders, or all of the possible configuration of those appenders, I added some of the more common ones that I use, including: ScriptAppenderSelector, RollingFile, File, and Null.  I also added the **charset** attribute to PatternLayout and the **level** attribute to AppenderRef.
   
   Please ignore whitespace when comparing. The previous version had some elements that did not line up and so I simply reformatted the whole thing.
   
   Note that I edited the file in place and did not run any tests.  I'm making the assumption that this file is here for convenience and no tests actually rely on it.


-- 
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: [PR] Expanded more elements to Log4j-config.xsd (logging-log4j2)

Posted by "ppkarwasz (via GitHub)" <gi...@apache.org>.
ppkarwasz closed pull request #1441: Expanded more elements to Log4j-config.xsd
URL: https://github.com/apache/logging-log4j2/pull/1441


-- 
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: [PR] Expanded more elements to Log4j-config.xsd (logging-log4j2)

Posted by "ppkarwasz (via GitHub)" <gi...@apache.org>.
ppkarwasz commented on PR #1441:
URL: https://github.com/apache/logging-log4j2/pull/1441#issuecomment-1666944229

   @krallus,
   
   I have backported the `Log4j-config.xsd` from `master` in #1667 . Can you check if you can validate your configuration with it?


-- 
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: [PR] Expanded more elements to Log4j-config.xsd (logging-log4j2)

Posted by "ppkarwasz (via GitHub)" <gi...@apache.org>.
ppkarwasz commented on PR #1441:
URL: https://github.com/apache/logging-log4j2/pull/1441#issuecomment-1518513783

   @krallus,
   
   thanks for the PR. This is a very old outstanding bug (cf. [LOG4J2-170](https://issues.apache.org/jira/browse/LOG4J2-170)).
   
   Actually the `main` branch has a much more complete XSD schema. Can you also add the improvements from that version to your PR?
   
   


-- 
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