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 449dd844211ce37a2910f7708b2391b0da1cec6e
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Fri Jul 5 17:07:04 2024 +0200

    Fix formatting
---
 .../manual/filters/ContextMapFilter.properties       | 16 ++++++++++++++++
 .../examples/manual/filters/ContextMapFilter.xml     | 20 ++++++++++++++++++--
 .../examples/manual/filters/ContextMapFilter.yaml    | 18 +++++++++++++++++-
 .../manual/filters/DynamicThresholdFilter.properties | 16 ++++++++++++++++
 .../manual/filters/DynamicThresholdFilter.xml        | 20 ++++++++++++++++++--
 .../manual/filters/DynamicThresholdFilter.yaml       | 18 +++++++++++++++++-
 .../examples/manual/filters/MapFilter.properties     | 16 ++++++++++++++++
 .../ROOT/examples/manual/filters/MapFilter.xml       | 20 ++++++++++++++++++--
 .../ROOT/examples/manual/filters/MapFilter.yaml      | 18 +++++++++++++++++-
 .../filters/MutableContextMapFilter.properties       | 16 ++++++++++++++++
 .../manual/filters/MutableContextMapFilter.xml       | 20 ++++++++++++++++++--
 .../manual/filters/MutableContextMapFilter.yaml      | 18 +++++++++++++++++-
 .../examples/manual/filters/ScriptFilter.properties  | 18 +++++++++++++++++-
 .../ROOT/examples/manual/filters/ScriptFilter.xml    | 20 ++++++++++++++++++--
 .../ROOT/examples/manual/filters/ScriptFilter.yaml   | 18 +++++++++++++++++-
 .../manual/filters/StructuredDataFilter.properties   | 16 ++++++++++++++++
 .../examples/manual/filters/StructuredDataFilter.xml | 20 ++++++++++++++++++--
 .../manual/filters/StructuredDataFilter.yaml         | 18 +++++++++++++++++-
 .../examples/manual/filters/TimeFilter.properties    | 17 ++++++++++++++++-
 .../ROOT/examples/manual/filters/TimeFilter.xml      | 20 ++++++++++++++++++--
 .../ROOT/examples/manual/filters/TimeFilter.yaml     | 18 +++++++++++++++++-
 21 files changed, 358 insertions(+), 23 deletions(-)

diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/ContextMapFilter.properties
 
b/src/site/antora/modules/ROOT/examples/manual/filters/ContextMapFilter.properties
index 2b6f233e70..950441524c 100644
--- 
a/src/site/antora/modules/ROOT/examples/manual/filters/ContextMapFilter.properties
+++ 
b/src/site/antora/modules/ROOT/examples/manual/filters/ContextMapFilter.properties
@@ -1,3 +1,19 @@
+#
+# 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.
+#
 monitorInterval = 10
 
 appender.0.type = Console
diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/ContextMapFilter.xml 
b/src/site/antora/modules/ROOT/examples/manual/filters/ContextMapFilter.xml
index d23db1fb84..9367cd2cca 100644
--- a/src/site/antora/modules/ROOT/examples/manual/filters/ContextMapFilter.xml
+++ b/src/site/antora/modules/ROOT/examples/manual/filters/ContextMapFilter.xml
@@ -1,4 +1,20 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?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.
+  -->
 <Configuration xmlns="https://logging.apache.org/xml/ns"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
                xsi:schemaLocation="
                    https://logging.apache.org/xml/ns
@@ -23,4 +39,4 @@
     <!-- end::kvp[] -->
   </ContextMapFilter>
   <!-- end::filter[] -->
-</Configuration>
\ No newline at end of file
+</Configuration>
diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/ContextMapFilter.yaml 
b/src/site/antora/modules/ROOT/examples/manual/filters/ContextMapFilter.yaml
index 9784f7864d..9de0a687ff 100644
--- a/src/site/antora/modules/ROOT/examples/manual/filters/ContextMapFilter.yaml
+++ b/src/site/antora/modules/ROOT/examples/manual/filters/ContextMapFilter.yaml
@@ -1,3 +1,19 @@
+#
+# 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:
   monitorInterval: 10
   Appenders:
@@ -19,4 +35,4 @@ Configuration:
         value: "alice"
       - key: "userId"
         value: "bob"
-  # end::filter[]
\ No newline at end of file
+  # end::filter[]
diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/DynamicThresholdFilter.properties
 
b/src/site/antora/modules/ROOT/examples/manual/filters/DynamicThresholdFilter.properties
index c9b1d85f89..92177e729f 100644
--- 
a/src/site/antora/modules/ROOT/examples/manual/filters/DynamicThresholdFilter.properties
+++ 
b/src/site/antora/modules/ROOT/examples/manual/filters/DynamicThresholdFilter.properties
@@ -1,3 +1,19 @@
+#
+# 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.
+#
 monitorInterval = 10
 
 appender.0.type = Console
diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/DynamicThresholdFilter.xml
 
b/src/site/antora/modules/ROOT/examples/manual/filters/DynamicThresholdFilter.xml
index 05ad714c82..98fc22e2bb 100644
--- 
a/src/site/antora/modules/ROOT/examples/manual/filters/DynamicThresholdFilter.xml
+++ 
b/src/site/antora/modules/ROOT/examples/manual/filters/DynamicThresholdFilter.xml
@@ -1,4 +1,20 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?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.
+  -->
 <Configuration xmlns="https://logging.apache.org/xml/ns"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
                xsi:schemaLocation="
                    https://logging.apache.org/xml/ns
@@ -21,4 +37,4 @@
     <KeyValuePair key="bob" value="INFO"/> <!--2-->
   </DynamicThresholdFilter>
   <!-- end::filter[] -->
-</Configuration>
\ No newline at end of file
+</Configuration>
diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/DynamicThresholdFilter.yaml
 
b/src/site/antora/modules/ROOT/examples/manual/filters/DynamicThresholdFilter.yaml
index 83ac3fa16c..a4d4c7e473 100644
--- 
a/src/site/antora/modules/ROOT/examples/manual/filters/DynamicThresholdFilter.yaml
+++ 
b/src/site/antora/modules/ROOT/examples/manual/filters/DynamicThresholdFilter.yaml
@@ -1,3 +1,19 @@
+#
+# 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:
   monitorInterval: 10
   Appenders:
@@ -18,4 +34,4 @@ Configuration:
         value: "DEBUG"
       - key: "bob" # <2>
         value: "INFO"
-  # end::filter[]
\ No newline at end of file
+  # end::filter[]
diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/MapFilter.properties 
b/src/site/antora/modules/ROOT/examples/manual/filters/MapFilter.properties
index 4cc05cdd4d..1c878d26d5 100644
--- a/src/site/antora/modules/ROOT/examples/manual/filters/MapFilter.properties
+++ b/src/site/antora/modules/ROOT/examples/manual/filters/MapFilter.properties
@@ -1,3 +1,19 @@
+#
+# 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.
+#
 monitorInterval = 10
 
 appender.0.type = Console
diff --git a/src/site/antora/modules/ROOT/examples/manual/filters/MapFilter.xml 
b/src/site/antora/modules/ROOT/examples/manual/filters/MapFilter.xml
index ed5f42e499..269debf76f 100644
--- a/src/site/antora/modules/ROOT/examples/manual/filters/MapFilter.xml
+++ b/src/site/antora/modules/ROOT/examples/manual/filters/MapFilter.xml
@@ -1,4 +1,20 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?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.
+  -->
 <Configuration xmlns="https://logging.apache.org/xml/ns"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
                xsi:schemaLocation="
                    https://logging.apache.org/xml/ns
@@ -21,4 +37,4 @@
     <KeyValuePair key="eventId" value="logout"/>
   </MapFilter>
   <!-- end::filter[] -->
-</Configuration>
\ No newline at end of file
+</Configuration>
diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/MapFilter.yaml 
b/src/site/antora/modules/ROOT/examples/manual/filters/MapFilter.yaml
index fc8184312a..cb01ac66b1 100644
--- a/src/site/antora/modules/ROOT/examples/manual/filters/MapFilter.yaml
+++ b/src/site/antora/modules/ROOT/examples/manual/filters/MapFilter.yaml
@@ -1,3 +1,19 @@
+#
+# 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:
   monitorInterval: 10
   Appenders:
@@ -19,4 +35,4 @@ Configuration:
         value: "login"
       - key: "eventId"
         value: "logout"
-  # end::filter[]
\ No newline at end of file
+  # end::filter[]
diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/MutableContextMapFilter.properties
 
b/src/site/antora/modules/ROOT/examples/manual/filters/MutableContextMapFilter.properties
index 689975ead3..89cc27eaa2 100644
--- 
a/src/site/antora/modules/ROOT/examples/manual/filters/MutableContextMapFilter.properties
+++ 
b/src/site/antora/modules/ROOT/examples/manual/filters/MutableContextMapFilter.properties
@@ -1,3 +1,19 @@
+#
+# 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.
+#
 appender.0.type = Console
 appender.0.name = CONSOLE
 appender.0.layout.type = JsonTemplateLayout
diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/MutableContextMapFilter.xml
 
b/src/site/antora/modules/ROOT/examples/manual/filters/MutableContextMapFilter.xml
index 3d9129b99c..a4ab14a558 100644
--- 
a/src/site/antora/modules/ROOT/examples/manual/filters/MutableContextMapFilter.xml
+++ 
b/src/site/antora/modules/ROOT/examples/manual/filters/MutableContextMapFilter.xml
@@ -1,4 +1,20 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?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.
+  -->
 <Configuration xmlns="https://logging.apache.org/xml/ns"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
                xsi:schemaLocation="
                    https://logging.apache.org/xml/ns
@@ -18,4 +34,4 @@
       configLocation="https://server.example/configs.json";
       pollInterval="10"/>
   <!-- end::filter[] -->
-</Configuration>
\ No newline at end of file
+</Configuration>
diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/MutableContextMapFilter.yaml
 
b/src/site/antora/modules/ROOT/examples/manual/filters/MutableContextMapFilter.yaml
index 91e16d9d35..f44a232cd1 100644
--- 
a/src/site/antora/modules/ROOT/examples/manual/filters/MutableContextMapFilter.yaml
+++ 
b/src/site/antora/modules/ROOT/examples/manual/filters/MutableContextMapFilter.yaml
@@ -1,3 +1,19 @@
+#
+# 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:
   Appenders:
     Console:
@@ -12,4 +28,4 @@ Configuration:
   MutableContextMapFilter:
     configLocation: "https://server.example/configs.json";
     pollInterval: 10
-  # end::filter[]
\ No newline at end of file
+  # end::filter[]
diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/ScriptFilter.properties 
b/src/site/antora/modules/ROOT/examples/manual/filters/ScriptFilter.properties
index d2b17951bf..c3adae4cba 100644
--- 
a/src/site/antora/modules/ROOT/examples/manual/filters/ScriptFilter.properties
+++ 
b/src/site/antora/modules/ROOT/examples/manual/filters/ScriptFilter.properties
@@ -1,3 +1,19 @@
+#
+# 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.
+#
 appender.0.type = Console
 appender.0.name = CONSOLE
 appender.0.layout.type = JsonTemplateLayout
@@ -17,4 +33,4 @@ filter.0.type = ScriptFilter
 filter.0.script.type = ScriptFile
 filter.0.script.language = groovy
 filter.0.script.path = scripts/global.groovy
-# end::global[]
\ No newline at end of file
+# end::global[]
diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/ScriptFilter.xml 
b/src/site/antora/modules/ROOT/examples/manual/filters/ScriptFilter.xml
index c725c0230f..2d50686d9c 100644
--- a/src/site/antora/modules/ROOT/examples/manual/filters/ScriptFilter.xml
+++ b/src/site/antora/modules/ROOT/examples/manual/filters/ScriptFilter.xml
@@ -1,4 +1,20 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?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.
+  -->
 <Configuration xmlns="https://logging.apache.org/xml/ns"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
                xsi:schemaLocation="
                    https://logging.apache.org/xml/ns
@@ -23,4 +39,4 @@
     <ScriptFile language="groovy" path="scripts/global.groovy"/>
   </ScriptFilter>
   <!-- end::global[] -->
-</Configuration>
\ No newline at end of file
+</Configuration>
diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/ScriptFilter.yaml 
b/src/site/antora/modules/ROOT/examples/manual/filters/ScriptFilter.yaml
index c95dad29a8..29d7f63bc3 100644
--- a/src/site/antora/modules/ROOT/examples/manual/filters/ScriptFilter.yaml
+++ b/src/site/antora/modules/ROOT/examples/manual/filters/ScriptFilter.yaml
@@ -1,3 +1,19 @@
+#
+# 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:
   Appenders:
     Console:
@@ -19,4 +35,4 @@ Configuration:
     ScriptFile:
       language: "groovy"
       path: "scripts/global.groovy"
-  # end::global[]
\ No newline at end of file
+  # end::global[]
diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/StructuredDataFilter.properties
 
b/src/site/antora/modules/ROOT/examples/manual/filters/StructuredDataFilter.properties
index ecf18a1d44..ad11a44bdb 100644
--- 
a/src/site/antora/modules/ROOT/examples/manual/filters/StructuredDataFilter.properties
+++ 
b/src/site/antora/modules/ROOT/examples/manual/filters/StructuredDataFilter.properties
@@ -1,3 +1,19 @@
+#
+# 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.
+#
 monitorInterval = 10
 
 appender.0.type = Console
diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/StructuredDataFilter.xml 
b/src/site/antora/modules/ROOT/examples/manual/filters/StructuredDataFilter.xml
index 0b4988c063..f5f43ea5b5 100644
--- 
a/src/site/antora/modules/ROOT/examples/manual/filters/StructuredDataFilter.xml
+++ 
b/src/site/antora/modules/ROOT/examples/manual/filters/StructuredDataFilter.xml
@@ -1,4 +1,20 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?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.
+  -->
 <Configuration xmlns="https://logging.apache.org/xml/ns"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
                xsi:schemaLocation="
                    https://logging.apache.org/xml/ns
@@ -21,4 +37,4 @@
     <KeyValuePair key="userId" value="bob"/>
   </StructuredDataFilter>
   <!-- end::filter[] -->
-</Configuration>
\ No newline at end of file
+</Configuration>
diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/StructuredDataFilter.yaml
 
b/src/site/antora/modules/ROOT/examples/manual/filters/StructuredDataFilter.yaml
index fc2fbd7ac5..31822d3644 100644
--- 
a/src/site/antora/modules/ROOT/examples/manual/filters/StructuredDataFilter.yaml
+++ 
b/src/site/antora/modules/ROOT/examples/manual/filters/StructuredDataFilter.yaml
@@ -1,3 +1,19 @@
+#
+# 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:
   monitorInterval: 10
   Appenders:
@@ -19,4 +35,4 @@ Configuration:
         value: "alice"
       - key: "userId"
         value: "bob"
-  # end::filter[]
\ No newline at end of file
+  # end::filter[]
diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/TimeFilter.properties 
b/src/site/antora/modules/ROOT/examples/manual/filters/TimeFilter.properties
index 12bbe2c192..4a14f09d17 100644
--- a/src/site/antora/modules/ROOT/examples/manual/filters/TimeFilter.properties
+++ b/src/site/antora/modules/ROOT/examples/manual/filters/TimeFilter.properties
@@ -1,3 +1,19 @@
+#
+# 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.
+#
 appender.0.type = Console
 appender.0.name = CONSOLE
 appender.0.layout.type = JsonTemplateLayout
@@ -19,4 +35,3 @@ rootLogger.appenderRef.1.filter.0.type = TimeFilter
 rootLogger.appenderRef.1.filter.0.start = 16:00:00
 rootLogger.appenderRef.1.filter.0.end = 08:00:00
 # end::filter[]
-
diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/TimeFilter.xml 
b/src/site/antora/modules/ROOT/examples/manual/filters/TimeFilter.xml
index 4db02da038..b2904d49ec 100644
--- a/src/site/antora/modules/ROOT/examples/manual/filters/TimeFilter.xml
+++ b/src/site/antora/modules/ROOT/examples/manual/filters/TimeFilter.xml
@@ -1,4 +1,20 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?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.
+  -->
 <Configuration xmlns="https://logging.apache.org/xml/ns"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
                xsi:schemaLocation="
                    https://logging.apache.org/xml/ns
@@ -23,4 +39,4 @@
       <!-- end::filter[] -->
     </Root>
   </Loggers>
-</Configuration>
\ No newline at end of file
+</Configuration>
diff --git 
a/src/site/antora/modules/ROOT/examples/manual/filters/TimeFilter.yaml 
b/src/site/antora/modules/ROOT/examples/manual/filters/TimeFilter.yaml
index 821528e8fa..74dd842113 100644
--- a/src/site/antora/modules/ROOT/examples/manual/filters/TimeFilter.yaml
+++ b/src/site/antora/modules/ROOT/examples/manual/filters/TimeFilter.yaml
@@ -1,3 +1,19 @@
+#
+# 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:
   monitorInterval: 10
   Appenders:
@@ -21,4 +37,4 @@ Configuration:
           TimeFilter:
             start: "16:00:00"
             end: "08:00:00"
-      # end::filter[]
\ No newline at end of file
+      # end::filter[]

Reply via email to