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 ih...@apache.org on 2011/05/29 12:53:39 UTC
svn commit: r1128863 - in /logging/log4php/trunk/src/site/apt:
contributingpatches.apt docs/appender/appender.apt docs/loggers.apt
install.apt quickstart.apt showcase.apt volunteering.apt
Author: ihabunek
Date: Sun May 29 10:53:39 2011
New Revision: 1128863
URL: http://svn.apache.org/viewvc?rev=1128863&view=rev
Log:
Fixed relative paths in documentation to avoid maven warnings.
Modified:
logging/log4php/trunk/src/site/apt/contributingpatches.apt
logging/log4php/trunk/src/site/apt/docs/appender/appender.apt
logging/log4php/trunk/src/site/apt/docs/loggers.apt
logging/log4php/trunk/src/site/apt/install.apt
logging/log4php/trunk/src/site/apt/quickstart.apt
logging/log4php/trunk/src/site/apt/showcase.apt
logging/log4php/trunk/src/site/apt/volunteering.apt
Modified: logging/log4php/trunk/src/site/apt/contributingpatches.apt
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/apt/contributingpatches.apt?rev=1128863&r1=1128862&r2=1128863&view=diff
==============================================================================
--- logging/log4php/trunk/src/site/apt/contributingpatches.apt (original)
+++ logging/log4php/trunk/src/site/apt/contributingpatches.apt Sun May 29 10:53:39 2011
@@ -21,7 +21,7 @@
Contributing Patches
Before you read this document, make sure you have read the general information on the
- {{{Volunteering.html}Volunteering}} page. Credits to the Apache Commons project on which documents
+ {{{./volunteering.html}Volunteering}} page. Credits to the Apache Commons project on which documents
this one is based on.
* Respect The Original Style
Modified: logging/log4php/trunk/src/site/apt/docs/appender/appender.apt
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/apt/docs/appender/appender.apt?rev=1128863&r1=1128862&r2=1128863&view=diff
==============================================================================
--- logging/log4php/trunk/src/site/apt/docs/appender/appender.apt (original)
+++ logging/log4php/trunk/src/site/apt/docs/appender/appender.apt Sun May 29 10:53:39 2011
@@ -40,7 +40,7 @@ Appenders
* A <<class>> which specifies which appender class will be used to handle the requests. Since we wish to log to a file, <LoggerAppenderFile> is used in this case.
- * Most appenders have an associated {{{layout.html}layout}}, which governs how the message is formatted.
+ * Most appenders have an associated {{{./layout.html}layout}}, which governs how the message is formatted.
* An appender can have zero or more <<parameters>> which configure it's behaviour. In our example, the <file> parameter governs the path to the file which will be used for logging, and <append> defines that log messages should be appended to the file, instead of truncating it.
Modified: logging/log4php/trunk/src/site/apt/docs/loggers.apt
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/apt/docs/loggers.apt?rev=1128863&r1=1128862&r2=1128863&view=diff
==============================================================================
--- logging/log4php/trunk/src/site/apt/docs/loggers.apt (original)
+++ logging/log4php/trunk/src/site/apt/docs/loggers.apt Sun May 29 10:53:39 2011
@@ -34,7 +34,7 @@ $logger = Logger::getLogger('foo');
$logger->info("This is the message to be logged.");
+--
- Loggers by themselves do not define where these messages will be logged. For that you need to assign one or more {{{appender/appender.html}appenders}} to the logger.
+ Loggers by themselves do not define where these messages will be logged. For that you need to assign one or more {{{./appender/appender.html}appenders}} to the logger.
* {Logger threshold}
@@ -49,7 +49,7 @@ $logger->info("This is the message to be
Loggers can be individually configured in the configuration file.
- The simplest example is to configure the root logger, since all other loggers will inherit its settings, as explained in the {{{loggers.html#Logger_hierarchy}next section}}.
+ The simplest example is to configure the root logger, since all other loggers will inherit its settings, as explained in the {{{./loggers.html#Logger_hierarchy}next section}}.
+--
<log4php:configuration xmlns:log4php="http://logging.apache.org/log4php/">
@@ -61,7 +61,7 @@ $logger->info("This is the message to be
</log4php:configuration>
+--
- This configuration adds the <default> appender to the root logger, and sets it's {{{loggers.html#Logger_threshold}threshold level}} to DEBUG.
+ This configuration adds the <default> appender to the root logger, and sets it's {{{./loggers.html#Logger_threshold}threshold level}} to DEBUG.
It is also possible to configure individual named loggers. For example, let's configure the <foo> logger, used in the example above, and set it's threshold to WARN:
Modified: logging/log4php/trunk/src/site/apt/install.apt
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/apt/install.apt?rev=1128863&r1=1128862&r2=1128863&view=diff
==============================================================================
--- logging/log4php/trunk/src/site/apt/install.apt (original)
+++ logging/log4php/trunk/src/site/apt/install.apt Sun May 29 10:53:39 2011
@@ -22,7 +22,7 @@ Installation
log4php is installed easily:
- * {{{download.html}download}} the package and unpack it.
+ * {{{./download.html}download}} the package and unpack it.
* copy the folder src/main/php into the target location of your application, f. e. $YOURAPP/log4php
Modified: logging/log4php/trunk/src/site/apt/quickstart.apt
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/apt/quickstart.apt?rev=1128863&r1=1128862&r2=1128863&view=diff
==============================================================================
--- logging/log4php/trunk/src/site/apt/quickstart.apt (original)
+++ logging/log4php/trunk/src/site/apt/quickstart.apt Sun May 29 10:53:39 2011
@@ -20,9 +20,9 @@ Quickstart
Quickstart
- First, please {{{install.html}install log4php}}.
+ First, please {{{./install.html}install log4php}}.
- It would also be wise to read the {{{docs/introduction.html}introduction to log4php}} to familiarise yoursef with the basic concepts used throughout the documentation and examples.
+ It would also be wise to read the {{{./docs/introduction.html}introduction to log4php}} to familiarise yoursef with the basic concepts used throughout the documentation and examples.
* A trivial example
@@ -64,11 +64,11 @@ Sun Jul 26 01:40:23 2009,030 [10093] WAR
This configuration file does the following:
- [[1]] Creates an appender called <myAppender> using appender class {{{docs/appender/appender.html#LoggerAppenderFile}LoggerAppenderFile}} which is used for logging to a file.
+ [[1]] Creates an appender called <myAppender> using appender class {{{./docs/appender/appender.html#LoggerAppenderFile}LoggerAppenderFile}} which is used for logging to a file.
[[2]] Sets the <file> parameter, which is required for LoggerAppenderFile, to the path to the file in which events will be logged.
- [[3]] Configures the root {{{docs/loggers.html}logger}} at WARN {{{docs/introduction.html#Levels}level}}. Therefore, logging requests with the level lower than WARN will be ignored.
+ [[3]] Configures the root {{{./docs/loggers.html}logger}} at WARN {{{./docs/introduction.html#Levels}level}}. Therefore, logging requests with the level lower than WARN will be ignored.
[[4]] Links <myAppender> with the root logger so that all events recieved by the root logger will be forwarded to <myAppender> and written into the log file.
Modified: logging/log4php/trunk/src/site/apt/showcase.apt
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/apt/showcase.apt?rev=1128863&r1=1128862&r2=1128863&view=diff
==============================================================================
--- logging/log4php/trunk/src/site/apt/showcase.apt (original)
+++ logging/log4php/trunk/src/site/apt/showcase.apt Sun May 29 10:53:39 2011
@@ -21,7 +21,7 @@ Who uses it?
Who uses Apache log4php?
This site shows some of the log4php users. If you think that you should be on this list, please
- let us know. Send a message to the {{{mail-lists.html}log4php user lists}}.
+ let us know. Send a message to the {{{./mail-lists.html}log4php user lists}}.
In alphabetic order:
Modified: logging/log4php/trunk/src/site/apt/volunteering.apt
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/apt/volunteering.apt?rev=1128863&r1=1128862&r2=1128863&view=diff
==============================================================================
--- logging/log4php/trunk/src/site/apt/volunteering.apt (original)
+++ logging/log4php/trunk/src/site/apt/volunteering.apt Sun May 29 10:53:39 2011
@@ -41,7 +41,7 @@ On Volunteering
for the log4php project, and seen any bugs that you can create a
patch for?
- * Have you checked your favorite package's {{{roadmap.html}roadmap file}} or
+ * Have you checked your favorite package's {{{./roadmap.html}roadmap file}} or
{{{http://wiki.apache.org/logging/Log4PHP/TODO}todo files}}
for things that have already been thought about, but just are
not done yet?