Skip to content

Commit bbe4e2c

Browse files
author
Jason Gerlowski
committed
Fix log4j2 template spacing
The log4j template added some extra newlines before the actual XML header, causing the logging library that Solr users to choke and fail to initialize logging. This commit removes the source of the extra spaces, allowing logging to start up correctly.
1 parent 54e61a8 commit bbe4e2c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/mpack/common-services/SOLR/7.4.0/configuration/solr-log4j.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
<property>
77
<name>content</name>
88
<description>Custom log4j2.xml</description>
9-
<value>
10-
<![CDATA[
11-
<?xml version="1.0" encoding="UTF-8"?>
9+
<value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
1210
<!-- 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. --> <Configuration>
1311
<Appenders>
1412

0 commit comments

Comments
 (0)