You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by ch...@apache.org on 2009/10/21 01:15:40 UTC

svn commit: r827833 - in /incubator/log4php/trunk/src/examples: README.LICENSE php/appender_console.php resources/configurator_php.php

Author: chammers
Date: Tue Oct 20 23:15:40 2009
New Revision: 827833

URL: http://svn.apache.org/viewvc?rev=827833&view=rev
Log:
Removed Apache License headers on two examples again and added
README file that explains why they are not present in src/examples/*

Added:
    incubator/log4php/trunk/src/examples/README.LICENSE
Modified:
    incubator/log4php/trunk/src/examples/php/appender_console.php
    incubator/log4php/trunk/src/examples/resources/configurator_php.php

Added: incubator/log4php/trunk/src/examples/README.LICENSE
URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/examples/README.LICENSE?rev=827833&view=auto
==============================================================================
--- incubator/log4php/trunk/src/examples/README.LICENSE (added)
+++ incubator/log4php/trunk/src/examples/README.LICENSE Tue Oct 20 23:15:40 2009
@@ -0,0 +1,6 @@
+The files in this directory do not carry the Apache Licese header as they
+* are just snippets which are supposed to be included into the phpdoc and
+  .apt site documentation files where the headers would look ugly
+* have no degree of creativity and are thus not protected by copyright law
+* are examples of what the endusers are expected to write in their programs
+  and they certainly do not want us to claim copyright on that :)

Modified: incubator/log4php/trunk/src/examples/php/appender_console.php
URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/examples/php/appender_console.php?rev=827833&r1=827832&r2=827833&view=diff
==============================================================================
--- incubator/log4php/trunk/src/examples/php/appender_console.php (original)
+++ incubator/log4php/trunk/src/examples/php/appender_console.php Tue Oct 20 23:15:40 2009
@@ -1,21 +1,4 @@
 <?php
-/**
- * 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.
- */
-
 // START SNIPPET: doxia
 require_once dirname(__FILE__).'/../../main/php/Logger.php';
 Logger::configure(dirname(__FILE__).'/../resources/appender_console.properties');

Modified: incubator/log4php/trunk/src/examples/resources/configurator_php.php
URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/examples/resources/configurator_php.php?rev=827833&r1=827832&r2=827833&view=diff
==============================================================================
--- incubator/log4php/trunk/src/examples/resources/configurator_php.php (original)
+++ incubator/log4php/trunk/src/examples/resources/configurator_php.php Tue Oct 20 23:15:40 2009
@@ -1,21 +1,4 @@
 <?php
-/**
- * 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.
- */
-
 return array(
         'threshold' => 'ALL',
         'rootLogger' => array(
@@ -38,5 +21,3 @@
             ),
         ),
     );
-
-?>