You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2015/12/05 23:21:27 UTC

logging-log4j2 git commit: Add missing license headers

Repository: logging-log4j2
Updated Branches:
  refs/heads/master 1d098ea18 -> def6e10e3


Add missing license headers


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/def6e10e
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/def6e10e
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/def6e10e

Branch: refs/heads/master
Commit: def6e10e3e0ad565637d2834abea5ab0c363402d
Parents: 1d098ea
Author: Ralph Goers <rg...@apache.org>
Authored: Sat Dec 5 15:21:17 2015 -0700
Committer: Ralph Goers <rg...@apache.org>
Committed: Sat Dec 5 15:21:17 2015 -0700

----------------------------------------------------------------------
 .../java/org/apache/log4j/LogWithMDCTest.java    | 19 +++++++++++++++----
 .../java/org/apache/log4j/LogWithRouteTest.java  | 19 +++++++++++++++----
 .../core/appender/routing/IdlePurgePolicy.java   | 16 ++++++++++++++++
 .../log4j/core/appender/routing/PurgePolicy.java | 16 ++++++++++++++++
 pom.xml                                          |  2 ++
 5 files changed, 64 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/def6e10e/log4j-1.2-api/src/test/java/org/apache/log4j/LogWithMDCTest.java
----------------------------------------------------------------------
diff --git a/log4j-1.2-api/src/test/java/org/apache/log4j/LogWithMDCTest.java b/log4j-1.2-api/src/test/java/org/apache/log4j/LogWithMDCTest.java
index bb3f9c2..e7c3345 100644
--- a/log4j-1.2-api/src/test/java/org/apache/log4j/LogWithMDCTest.java
+++ b/log4j-1.2-api/src/test/java/org/apache/log4j/LogWithMDCTest.java
@@ -1,6 +1,18 @@
 /*
- * Copyright (c) 2015 Nextiva, Inc. to Present.
- * All rights reserved.
+ * 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.
  */
 package org.apache.log4j;
 
@@ -14,8 +26,7 @@ import java.util.List;
 import static org.junit.Assert.*;
 
 /**
- * Class Description goes here.
- * Created by rgoers on 11/29/15
+ * Test logging with MDC values.
  */
 public class LogWithMDCTest {
 

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/def6e10e/log4j-1.2-api/src/test/java/org/apache/log4j/LogWithRouteTest.java
----------------------------------------------------------------------
diff --git a/log4j-1.2-api/src/test/java/org/apache/log4j/LogWithRouteTest.java b/log4j-1.2-api/src/test/java/org/apache/log4j/LogWithRouteTest.java
index 1a3b635..1e7e964 100644
--- a/log4j-1.2-api/src/test/java/org/apache/log4j/LogWithRouteTest.java
+++ b/log4j-1.2-api/src/test/java/org/apache/log4j/LogWithRouteTest.java
@@ -1,6 +1,18 @@
 /*
- * Copyright (c) 2015 Nextiva, Inc. to Present.
- * All rights reserved.
+ * 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.
  */
 package org.apache.log4j;
 
@@ -15,8 +27,7 @@ import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertTrue;
 
 /**
- * Class Description goes here.
- * Created by rgoers on 11/29/15
+ * Test passing MDC values to the Routing appender.
  */
 public class LogWithRouteTest {
 

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/def6e10e/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/routing/IdlePurgePolicy.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/routing/IdlePurgePolicy.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/routing/IdlePurgePolicy.java
index 87a8838..fc1921d 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/routing/IdlePurgePolicy.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/routing/IdlePurgePolicy.java
@@ -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.
+ */
 package org.apache.logging.log4j.core.appender.routing;
 
 import java.util.Map.Entry;

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/def6e10e/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/routing/PurgePolicy.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/routing/PurgePolicy.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/routing/PurgePolicy.java
index cfac2fa..a90b6a8 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/routing/PurgePolicy.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/routing/PurgePolicy.java
@@ -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.
+ */
 package org.apache.logging.log4j.core.appender.routing;
 
 import org.apache.logging.log4j.core.LogEvent;

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/def6e10e/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 16b8e6c..01d526e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1313,6 +1313,8 @@
                 <exclude>src/test/resources/**/*</exclude>
                 <exclude>src/site/resources/**/*</exclude>
                 <exclude>src/site/site.vm</exclude>
+                <exclude>src/ide/**/*</exclude>
+                <exclude>**/target/generated-sources/**/*</exclude>
               </excludes>
             </configuration>
             <executions>