This is an automated email from the ASF dual-hosted git repository. pkarwasz pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit dd33e3313c64f8aca1f2c523e83b2d29f8516de0 Author: Lucas Souza <[email protected]> AuthorDate: Fri Mar 17 23:58:50 2023 -0300 #1366 - Added changelog entry --- src/changelog/.2.x.x/1366_fix_java_sql_date.xml | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/changelog/.2.x.x/1366_fix_java_sql_date.xml b/src/changelog/.2.x.x/1366_fix_java_sql_date.xml new file mode 100644 index 0000000000..8a28a5bd2e --- /dev/null +++ b/src/changelog/.2.x.x/1366_fix_java_sql_date.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="http://logging.apache.org/log4j/changelog" + xsi:schemaLocation="http://logging.apache.org/log4j/changelog https://logging.apache.org/log4j/changelog-0.1.1.xsd" + type="fixed"> + <issue id="1366" link="https://github.com/apache/logging-log4j2/pull/1366"/> + <author id="Hikarikun92"/> + <author name="Lucas Souza"/> + <description format="asciidoc"> + Fixed logging of java.sql.Date objects by appending it before Log4J tries to call java.util.Date.toInstant() on it. + </description> +</entry>
