logging-log4php.git
5 years agoAdded composer.json to tag so it's installable via Composer. tags/2.3.0 2.3.0
Ivan Habunek [Fri, 26 Oct 2012 09:13:25 +0000 (09:13 +0000)] 
Added composer.json to tag so it's installable via Composer.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/tags/2.3.0@1402452 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLOG4PHP-191: Renaming SVN tags to make them compatible with Composer
Ivan Habunek [Thu, 25 Oct 2012 09:49:30 +0000 (09:49 +0000)] 
LOG4PHP-191: Renaming SVN tags to make them compatible with Composer

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/tags/2.3.0@1402069 13f79535-47bb-0310-9956-ffa450edef68

5 years ago[maven-release-plugin] copy for tag apache-log4php-2.3.0 tags/apache-log4php-2.3.0
Ivan Habunek [Mon, 8 Oct 2012 14:45:13 +0000 (14:45 +0000)] 
[maven-release-plugin]  copy for tag apache-log4php-2.3.0

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/tags/apache-log4php-2.3.0@1395587 13f79535-47bb-0310-9956-ffa450edef68

5 years ago[maven-release-plugin] prepare release apache-log4php-2.3.0
Ivan Habunek [Mon, 8 Oct 2012 14:45:08 +0000 (14:45 +0000)] 
[maven-release-plugin] prepare release apache-log4php-2.3.0

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1395586 13f79535-47bb-0310-9956-ffa450edef68

5 years agoFixed issue in pom.xml where JIRA report would fail (caused by JIRA upgrade).
Ivan Habunek [Mon, 8 Oct 2012 14:33:47 +0000 (14:33 +0000)] 
Fixed issue in pom.xml where JIRA report would fail (caused by JIRA upgrade).

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1395585 13f79535-47bb-0310-9956-ffa450edef68

5 years agoAdded missing license to example.
Ivan Habunek [Mon, 8 Oct 2012 14:33:12 +0000 (14:33 +0000)] 
Added missing license to example.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1395584 13f79535-47bb-0310-9956-ffa450edef68

5 years agoUpdated maven plugin versions in pom.xml
Ivan Habunek [Mon, 8 Oct 2012 12:42:37 +0000 (12:42 +0000)] 
Updated maven plugin versions in pom.xml

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1395529 13f79535-47bb-0310-9956-ffa450edef68

5 years agoUpdated changelog page for 2.3.0 release.
Ivan Habunek [Mon, 8 Oct 2012 12:28:05 +0000 (12:28 +0000)] 
Updated changelog page for 2.3.0 release.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1395525 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLoggerLayoutPattern:
Ivan Habunek [Mon, 8 Oct 2012 08:48:03 +0000 (08:48 +0000)] 
LoggerLayoutPattern:
- greatly simplified rendering of exceptions
- added %exception specifier, along with %ex and %throwable
- more tests

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1395470 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLOG4PHP-163 Fixed the LoggerPatternConverter so that trimming is by default done...
Ivan Habunek [Mon, 8 Oct 2012 08:23:07 +0000 (08:23 +0000)] 
LOG4PHP-163 Fixed the LoggerPatternConverter so that trimming is by default done from the right (same as in sprintf()). Improved docs.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1395467 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLOG4PHP-188: Events logged by upstream loggers even if disabled by level.
Ivan Habunek [Sun, 7 Oct 2012 08:28:53 +0000 (08:28 +0000)] 
LOG4PHP-188: Events logged by upstream loggers even if disabled by level.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1395241 13f79535-47bb-0310-9956-ffa450edef68

5 years agoAdded LOG4PHP-184 to chages.xml.
Ivan Habunek [Sat, 6 Oct 2012 14:47:22 +0000 (14:47 +0000)] 
Added LOG4PHP-184 to chages.xml.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1395076 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLOG4PHP-186: LoggerAppenderRollingFile: Don't clear the entire stat cache on an appen...
Ivan Habunek [Sat, 6 Oct 2012 09:33:36 +0000 (09:33 +0000)] 
LOG4PHP-186: LoggerAppenderRollingFile: Don't clear the entire stat cache on an append if possible.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1394975 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLOG4PHP-141: Updated changes.xml.
Ivan Habunek [Sat, 6 Oct 2012 08:15:33 +0000 (08:15 +0000)] 
LOG4PHP-141: Updated changes.xml.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1394957 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLOG4PHP-141: Finished default renderer implementation.
Ivan Habunek [Sat, 6 Oct 2012 08:10:29 +0000 (08:10 +0000)] 
LOG4PHP-141: Finished default renderer implementation.
Updated docs and tests.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1394956 13f79535-47bb-0310-9956-ffa450edef68

5 years agoAdded 'tmp' directory to svn:ignore. Used locally for testing.
Ivan Habunek [Sat, 6 Oct 2012 08:08:44 +0000 (08:08 +0000)] 
Added 'tmp' directory to svn:ignore. Used locally for testing.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1394955 13f79535-47bb-0310-9956-ffa450edef68

5 years agoTweak to apigen configuration so that it does not generate documentation for php...
Ivan Habunek [Sat, 6 Oct 2012 06:44:20 +0000 (06:44 +0000)] 
Tweak to apigen configuration so that it does not generate documentation for php internal classes.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1394948 13f79535-47bb-0310-9956-ffa450edef68

5 years agoImproved docs for LoggerAppenderDailyFile
Ivan Habunek [Sat, 6 Oct 2012 06:21:41 +0000 (06:21 +0000)] 
Improved docs for LoggerAppenderDailyFile

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1394939 13f79535-47bb-0310-9956-ffa450edef68

5 years agoMinor indentation fix.
Ivan Habunek [Sat, 6 Oct 2012 06:17:02 +0000 (06:17 +0000)] 
Minor indentation fix.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1394938 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLOG4PHP-120: Fixed LoggerAppenderDailyFile to rollover on date change in long running...
Ivan Habunek [Sat, 8 Sep 2012 09:57:21 +0000 (09:57 +0000)] 
LOG4PHP-120: Fixed LoggerAppenderDailyFile to rollover on date change in long running scipts. Improved tests.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1382274 13f79535-47bb-0310-9956-ffa450edef68

5 years agoFixed LoggerLoggingEvent constructor to accept any numeric value for it's timestamp...
Ivan Habunek [Sat, 8 Sep 2012 09:51:30 +0000 (09:51 +0000)] 
Fixed LoggerLoggingEvent constructor to accept any numeric value for it's timestamp, not just floats.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1382273 13f79535-47bb-0310-9956-ffa450edef68

5 years agoBetter phpdocs for LoggerTestHelper (enables usage of code assist for those methods).
Ivan Habunek [Sat, 8 Sep 2012 09:50:36 +0000 (09:50 +0000)] 
Better phpdocs for LoggerTestHelper (enables usage of code assist for those methods).

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1382272 13f79535-47bb-0310-9956-ffa450edef68

5 years agoFixed wrong dates in changelog.
Ivan Habunek [Sat, 8 Sep 2012 09:37:17 +0000 (09:37 +0000)] 
Fixed wrong dates in changelog.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1382270 13f79535-47bb-0310-9956-ffa450edef68

5 years agoFixed minor bug introduced in previous commit.
Ivan Habunek [Sat, 8 Sep 2012 07:52:20 +0000 (07:52 +0000)] 
Fixed minor bug introduced in previous commit.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1382244 13f79535-47bb-0310-9956-ffa450edef68

5 years agoFixed a bug in file appenders where they would attempt to write the log event even...
Ivan Habunek [Sat, 8 Sep 2012 07:51:18 +0000 (07:51 +0000)] 
Fixed a bug in file appenders where they would attempt to write the log event even if opening of file was unsuccessful.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1382243 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLoggerLoggingEvent: Fixed getMessage() to return the actual message, instead of the...
Ivan Habunek [Sat, 1 Sep 2012 11:20:43 +0000 (11:20 +0000)] 
LoggerLoggingEvent: Fixed getMessage() to return the actual message, instead of the rendered message. There's getRenderedMessage() for that.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1379741 13f79535-47bb-0310-9956-ffa450edef68

5 years agoRemoved unnecessary initialization of member variables to null. Improved phpdoc for...
Ivan Habunek [Sat, 1 Sep 2012 10:28:02 +0000 (10:28 +0000)] 
Removed unnecessary initialization of member variables to null. Improved phpdoc for LoggerLocationInfo.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1379738 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLoggerLoggingEvent: Replaced getTime() with getRelativeTime().
Ivan Habunek [Sat, 1 Sep 2012 10:06:29 +0000 (10:06 +0000)] 
LoggerLoggingEvent: Replaced getTime() with getRelativeTime().

The new method, apart from having a better descriptive name, does not perform unnecessary number formatting, and multiplication by 1000 which getTime() does so it's faster. Marked getTime() as deprecated.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1379731 13f79535-47bb-0310-9956-ffa450edef68

5 years agoReplaced "priority" with "level" for consistency.
Ivan Habunek [Sat, 1 Sep 2012 09:51:02 +0000 (09:51 +0000)] 
Replaced "priority" with "level" for consistency.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1379729 13f79535-47bb-0310-9956-ffa450edef68

5 years agoRemoved redundant type check in Logger::forcedLog().
Ivan Habunek [Sat, 1 Sep 2012 09:45:52 +0000 (09:45 +0000)] 
Removed redundant type check in Logger::forcedLog().

The same check is made in LoggerLoggingEvent constructor. The Exception type hint for $throwable was removed from the constructor to prevent errors if a non-exception is given here. Any non-exceptions will just be ignored anyway.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1379728 13f79535-47bb-0310-9956-ffa450edef68

5 years agoMinor improvement to site footer.
Ivan Habunek [Sun, 26 Aug 2012 18:51:22 +0000 (18:51 +0000)] 
Minor improvement to site footer.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1377481 13f79535-47bb-0310-9956-ffa450edef68

5 years agoUpgraded to Bootstrap v2.1
Ivan Habunek [Tue, 21 Aug 2012 08:46:39 +0000 (08:46 +0000)] 
Upgraded to Bootstrap v2.1

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1375431 13f79535-47bb-0310-9956-ffa450edef68

5 years agoRestored POM settings which were accidentally removed in previous commit. Updated...
Ivan Habunek [Tue, 21 Aug 2012 06:24:45 +0000 (06:24 +0000)] 
Restored POM settings which were accidentally removed in previous commit. Updated maven plugin to latest versions.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1375392 13f79535-47bb-0310-9956-ffa450edef68

5 years agoA substantial rewrite of the three file appenders:
Ivan Habunek [Sun, 19 Aug 2012 16:14:24 +0000 (16:14 +0000)] 
A substantial rewrite of the three file appenders:
- a file will not be created on activation, but on first append (LOG4PHP-130)
- compression in rolling appender is done in chunks (LOG4PHP-164)
- general improvements in writing logic, better error handling

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1374786 13f79535-47bb-0310-9956-ffa450edef68

5 years agoRemoved usage of register_shutdown_function which was used instead of a distructor...
Ivan Habunek [Sun, 19 Aug 2012 15:53:20 +0000 (15:53 +0000)] 
Removed usage of register_shutdown_function which was used instead of  a distructor in LoggerAppender. This function yielded some unexpected and undesirable behaviour.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1374777 13f79535-47bb-0310-9956-ffa450edef68

5 years agoSet class="external" on all external links. Removed target="_blank", this is added...
Ivan Habunek [Sun, 19 Aug 2012 15:47:51 +0000 (15:47 +0000)] 
Set class="external" on all external links. Removed target="_blank", this is added dynamically in site.js.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1374775 13f79535-47bb-0310-9956-ffa450edef68

5 years agoReimplemented variable (actually constants) substitution in parameters.
Ivan Habunek [Sat, 18 Aug 2012 17:27:26 +0000 (17:27 +0000)] 
Reimplemented variable (actually constants) substitution in parameters.
Removed deprecated variable substitution and option conversion methods.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1374617 13f79535-47bb-0310-9956-ffa450edef68

5 years agoForgot to include XML test file in previous commit.
Ivan Habunek [Sat, 18 Aug 2012 16:01:38 +0000 (16:01 +0000)] 
Forgot to include XML test file in previous commit.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1374602 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLoggerConfigurationAdapterXML: Added parsing of <appender-ref> nodes, as well as...
Ivan Habunek [Sat, 18 Aug 2012 16:00:30 +0000 (16:00 +0000)] 
LoggerConfigurationAdapterXML: Added parsing of <appender-ref> nodes, as well as <appender_ref> in loggers for backward compatibility.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1374601 13f79535-47bb-0310-9956-ffa450edef68

5 years agoImproved docs for LoggerAppenderPDO to reflect new functionality (no automatic table...
Ivan Habunek [Sat, 18 Aug 2012 15:40:37 +0000 (15:40 +0000)] 
Improved docs for LoggerAppenderPDO to reflect new functionality (no automatic table creation).

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1374599 13f79535-47bb-0310-9956-ffa450edef68

5 years agoUpdated svn:keywords and @revision tags for the remaining tests (see previous commit).
Ivan Habunek [Sat, 18 Aug 2012 14:29:31 +0000 (14:29 +0000)] 
Updated svn:keywords and @revision tags for the remaining tests (see previous commit).

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1374589 13f79535-47bb-0310-9956-ffa450edef68

5 years agoUpdated tests:
Ivan Habunek [Sat, 18 Aug 2012 13:51:02 +0000 (13:51 +0000)] 
Updated tests:
- fixed usage of SVN keyword replacement to be consistent with the rest of codebase (using $Revision$)
- replaced relative paths with absolute, using PHPUNIT_TEMP_DIR constant
- various minor improvements

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1374580 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLoggerAppenderPDO: Fixed reconnect logic.
Ivan Habunek [Sat, 18 Aug 2012 10:22:19 +0000 (10:22 +0000)] 
LoggerAppenderPDO: Fixed reconnect logic.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1374546 13f79535-47bb-0310-9956-ffa450edef68

5 years agoReplaced phpdoc with apigen, at least until phpdoc v2 is stable.
Ivan Habunek [Sat, 18 Aug 2012 09:19:56 +0000 (09:19 +0000)] 
Replaced phpdoc with apigen, at least until phpdoc v2 is stable.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1374533 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLoggerLayoutPattern: Made the default conversion pattern more verbose.
Ivan Habunek [Sat, 18 Aug 2012 09:16:19 +0000 (09:16 +0000)] 
LoggerLayoutPattern: Made the default conversion pattern more verbose.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1374532 13f79535-47bb-0310-9956-ffa450edef68

5 years agoRemoved unnecessary include from a test.
Ivan Habunek [Sat, 18 Aug 2012 08:53:56 +0000 (08:53 +0000)] 
Removed unnecessary include from a test.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1374527 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLOG4PHP-182: Keep opening braces on the same line for methods.
Ivan Habunek [Fri, 15 Jun 2012 12:55:48 +0000 (12:55 +0000)] 
LOG4PHP-182: Keep opening braces on the same line for methods.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1350602 13f79535-47bb-0310-9956-ffa450edef68

5 years agoImproved error reporting for MongoDB appender, better docs.
Ivan Habunek [Tue, 5 Jun 2012 12:08:24 +0000 (12:08 +0000)] 
Improved error reporting for MongoDB appender, better docs.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1346363 13f79535-47bb-0310-9956-ffa450edef68

5 years agoMissed several occurances of LoggerAppenderFirephp, renamed to LoggerAppenderFirePHP...
Ivan Habunek [Tue, 29 May 2012 11:49:54 +0000 (11:49 +0000)] 
Missed several occurances of LoggerAppenderFirephp, renamed to LoggerAppenderFirePHP. Improved docs.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1343684 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLOG4PHP-180: Removed $_ENV and $_SERVER access from LoggerMDC
Ivan Habunek [Tue, 29 May 2012 09:46:39 +0000 (09:46 +0000)] 
LOG4PHP-180: Removed $_ENV and $_SERVER access from LoggerMDC

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1343630 13f79535-47bb-0310-9956-ffa450edef68

5 years agoAdded pattern layout changes to changelog.
Ivan Habunek [Tue, 29 May 2012 09:36:18 +0000 (09:36 +0000)] 
Added pattern layout changes to changelog.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1343626 13f79535-47bb-0310-9956-ffa450edef68

5 years agoRenamed LoggerAppenderFirephp to LoggerAppenderFirePHP to keep naming consistent.
Ivan Habunek [Tue, 29 May 2012 09:16:33 +0000 (09:16 +0000)] 
Renamed LoggerAppenderFirephp to LoggerAppenderFirePHP to keep naming consistent.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1343617 13f79535-47bb-0310-9956-ffa450edef68

5 years agoStarted a changelog for v2.3.0.
Ivan Habunek [Tue, 29 May 2012 09:13:13 +0000 (09:13 +0000)] 
Started a changelog for v2.3.0.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1343615 13f79535-47bb-0310-9956-ffa450edef68

5 years agoImproved coding standards:
Ivan Habunek [Tue, 29 May 2012 08:43:19 +0000 (08:43 +0000)] 
Improved coding standards:
* Removed closing tag (?>) from end of file - insures no spaces are output
* Replaced single-letter variable names with more understandable ones.
* Removed unused variables

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1343601 13f79535-47bb-0310-9956-ffa450edef68

5 years agoRemoved unused private member LoggerThrowableInformation::$logger.
Ivan Habunek [Tue, 29 May 2012 08:18:52 +0000 (08:18 +0000)] 
Removed unused private member LoggerThrowableInformation::$logger.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1343596 13f79535-47bb-0310-9956-ffa450edef68

5 years agoFixed paths in phpdoc.xml.
Ivan Habunek [Tue, 29 May 2012 08:00:45 +0000 (08:00 +0000)] 
Fixed paths in phpdoc.xml.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1343591 13f79535-47bb-0310-9956-ffa450edef68

5 years agoMoved phpunit.xml to project root. Adjusted build.xml accordingly.
Ivan Habunek [Tue, 29 May 2012 07:58:32 +0000 (07:58 +0000)] 
Moved phpunit.xml to project root. Adjusted build.xml accordingly.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1343590 13f79535-47bb-0310-9956-ffa450edef68

5 years agoAdded a configuration file for phpDocumentor v2.
Ivan Habunek [Tue, 29 May 2012 07:39:37 +0000 (07:39 +0000)] 
Added a configuration file for phpDocumentor v2.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1343584 13f79535-47bb-0310-9956-ffa450edef68

5 years agoRemoved accidentally added folder. #idiot
Ivan Habunek [Mon, 28 May 2012 10:22:47 +0000 (10:22 +0000)] 
Removed accidentally added folder. #idiot

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1343191 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLOG4PHP-178:
Ivan Habunek [Mon, 28 May 2012 10:18:49 +0000 (10:18 +0000)] 
LOG4PHP-178:
* Updated Logger::setLevel() to accept null.
* Updated LoggerRoot::setLevel() to deny null.
* Added error reporting to LoggerRoot.
* Updated tests.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1343190 13f79535-47bb-0310-9956-ffa450edef68

5 years agoRemoved redundant check in LoggerHierarchy::setRoot(). Root logger is always present...
Ivan Habunek [Mon, 28 May 2012 10:15:30 +0000 (10:15 +0000)] 
Removed redundant check in LoggerHierarchy::setRoot(). Root logger is always present since it's populated in the constructor.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1343189 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLOG4PHP-178: Added typehint to Logger::setLevel()
Ivan Habunek [Sat, 26 May 2012 09:22:16 +0000 (09:22 +0000)] 
LOG4PHP-178: Added typehint to Logger::setLevel()

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1342867 13f79535-47bb-0310-9956-ffa450edef68

5 years agophp-config example equivalent of xml-config example
Florian Semm [Wed, 16 May 2012 05:38:32 +0000 (05:38 +0000)] 
php-config example equivalent of xml-config example

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1339015 13f79535-47bb-0310-9956-ffa450edef68

5 years agoImproved appender phpdocs to work better with new phpdoc 2.0. No code changes.
Ivan Habunek [Sun, 13 May 2012 09:25:14 +0000 (09:25 +0000)] 
Improved appender phpdocs to work better with new phpdoc 2.0. No code changes.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1337820 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLoggerAppenderRollingFile: Fixed bug which prevented compression from working on...
Ivan Habunek [Sun, 6 May 2012 11:38:35 +0000 (11:38 +0000)] 
LoggerAppenderRollingFile: Fixed bug which prevented compression from working on windows. Better error message.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1334608 13f79535-47bb-0310-9956-ffa450edef68

5 years agoFixed svn:keywords on all php files.
Ivan Habunek [Sat, 5 May 2012 09:46:32 +0000 (09:46 +0000)] 
Fixed svn:keywords on all php files.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1334369 13f79535-47bb-0310-9956-ffa450edef68

5 years agoFixed phpdocs for the LoggerRendererObject.
Ivan Habunek [Wed, 2 May 2012 08:32:14 +0000 (08:32 +0000)] 
Fixed phpdocs for the LoggerRendererObject.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1332954 13f79535-47bb-0310-9956-ffa450edef68

5 years agoRemoved unneeded comments from site.xml, fixed indent.
Ivan Habunek [Wed, 2 May 2012 08:28:51 +0000 (08:28 +0000)] 
Removed unneeded comments from site.xml, fixed indent.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1332953 13f79535-47bb-0310-9956-ffa450edef68

5 years agoFixed firephp tests to be skipped if lib is not found.
Ivan Habunek [Tue, 17 Apr 2012 10:54:49 +0000 (10:54 +0000)] 
Fixed firephp tests to be skipped if lib is not found.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1327039 13f79535-47bb-0310-9956-ffa450edef68

5 years agoFixed javadoc and svn:keywords for pattern converters.
Ivan Habunek [Mon, 16 Apr 2012 14:18:51 +0000 (14:18 +0000)] 
Fixed javadoc and svn:keywords for pattern converters.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1326626 13f79535-47bb-0310-9956-ffa450edef68

5 years agoImproved docs for the pattern layout.
Ivan Habunek [Mon, 16 Apr 2012 12:52:54 +0000 (12:52 +0000)] 
Improved docs for the pattern layout.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1326578 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLOG4PHP-164: Compress rotated files with Gzip/Zip
Florian Semm [Fri, 6 Apr 2012 16:50:17 +0000 (16:50 +0000)] 
LOG4PHP-164: Compress rotated files with Gzip/Zip

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1310475 13f79535-47bb-0310-9956-ffa450edef68

5 years agoAdded handling of objects and arrays to FirePHP appender.
Ivan Habunek [Fri, 6 Apr 2012 11:21:35 +0000 (11:21 +0000)] 
Added handling of objects and arrays to FirePHP appender.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1310279 13f79535-47bb-0310-9956-ffa450edef68

5 years agounused property deleted
Florian Semm [Thu, 5 Apr 2012 06:01:20 +0000 (06:01 +0000)] 
unused property deleted

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1309658 13f79535-47bb-0310-9956-ffa450edef68

5 years agoFix test after refactoring
Florian Semm [Thu, 5 Apr 2012 05:58:05 +0000 (05:58 +0000)] 
Fix test after refactoring

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1309657 13f79535-47bb-0310-9956-ffa450edef68

5 years agotest
Florian Semm [Wed, 4 Apr 2012 05:33:21 +0000 (05:33 +0000)] 
test

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1309253 13f79535-47bb-0310-9956-ffa450edef68

5 years agoAdded missing conversion patterns to the Pattern layout doc.
Ivan Habunek [Tue, 3 Apr 2012 12:00:37 +0000 (12:00 +0000)] 
Added missing conversion patterns to the Pattern layout doc.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1308831 13f79535-47bb-0310-9956-ffa450edef68

5 years agoAdded shortening of class names for the %class pattern converter.
Ivan Habunek [Tue, 3 Apr 2012 11:44:38 +0000 (11:44 +0000)] 
Added shortening of class names for the %class pattern converter.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1308829 13f79535-47bb-0310-9956-ffa450edef68

5 years agoMoved shortenClassName implementation to LoggerUtils so that it can be used from...
Ivan Habunek [Tue, 3 Apr 2012 11:37:29 +0000 (11:37 +0000)] 
Moved shortenClassName implementation to LoggerUtils so that it can be used from elsewhere.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1308825 13f79535-47bb-0310-9956-ffa450edef68

5 years agoMinor fixes for Pattern layout docs.
Ivan Habunek [Tue, 3 Apr 2012 11:28:45 +0000 (11:28 +0000)] 
Minor fixes for Pattern layout docs.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1308823 13f79535-47bb-0310-9956-ffa450edef68

5 years agoFixed the %location conversion pattern in Pattern layout.
Ivan Habunek [Tue, 3 Apr 2012 11:28:20 +0000 (11:28 +0000)] 
Fixed the %location conversion pattern in Pattern layout.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1308822 13f79535-47bb-0310-9956-ffa450edef68

5 years agomove floriansemm from contributor to developers
Florian Semm [Sat, 31 Mar 2012 10:58:13 +0000 (10:58 +0000)] 
move floriansemm from contributor to developers

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1307764 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLOG4PHP-174:
Ivan Habunek [Thu, 29 Mar 2012 15:04:20 +0000 (15:04 +0000)] 
LOG4PHP-174:
* Using integer level constants for switching instead of strings.
* Removed call to console->debug() because the method does not exist.
* Removed call to console->trace() because it is not used for trace-level logging, but for outputting the call trace.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1306892 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLOG4PHP-174: Made activation simpler.
Ivan Habunek [Thu, 29 Mar 2012 14:56:47 +0000 (14:56 +0000)] 
LOG4PHP-174: Made activation simpler.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1306888 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLOG4PHP-174: Renamed parameter 'medium' to 'target' to conform with FirePHP documenta...
Ivan Habunek [Thu, 29 Mar 2012 13:49:00 +0000 (13:49 +0000)] 
LOG4PHP-174: Renamed parameter 'medium' to 'target' to conform with FirePHP documentation.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1306868 13f79535-47bb-0310-9956-ffa450edef68

5 years agoAdded a helper function which prints the Logger Hierarchy.
Ivan Habunek [Thu, 29 Mar 2012 13:24:30 +0000 (13:24 +0000)] 
Added a helper function which prints the Logger Hierarchy.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1306842 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLOG4PHP-174: Fixed activation bug.
Ivan Habunek [Thu, 29 Mar 2012 12:51:12 +0000 (12:51 +0000)] 
LOG4PHP-174: Fixed activation bug.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1306819 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLOG4PHP-174: Fixed implementation of default value for medium parameter.
Ivan Habunek [Thu, 29 Mar 2012 12:50:29 +0000 (12:50 +0000)] 
LOG4PHP-174: Fixed implementation of default value for medium parameter.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1306817 13f79535-47bb-0310-9956-ffa450edef68

5 years agoemoved unneccessary overrides: close(), __destruct()
Ivan Habunek [Thu, 29 Mar 2012 08:42:59 +0000 (08:42 +0000)] 
emoved unneccessary overrides: close(), __destruct()

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1306755 13f79535-47bb-0310-9956-ffa450edef68

5 years agoImproved phpdoc for FirePHP appender to be in line with project standards.
Ivan Habunek [Thu, 29 Mar 2012 08:40:59 +0000 (08:40 +0000)] 
Improved phpdoc for FirePHP appender to be in line with project standards.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1306754 13f79535-47bb-0310-9956-ffa450edef68

5 years agocreate documentation
Florian Semm [Mon, 26 Mar 2012 06:20:19 +0000 (06:20 +0000)] 
create documentation

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1305233 13f79535-47bb-0310-9956-ffa450edef68

5 years agodon't fail silently. move check for firephp-lib to activeOptions method
Florian Semm [Mon, 26 Mar 2012 05:27:41 +0000 (05:27 +0000)] 
don't fail silently. move check for firephp-lib to activeOptions method

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1305228 13f79535-47bb-0310-9956-ffa450edef68

5 years agodon't fail silently. move check for firephp-lib to activeOptions method
Florian Semm [Mon, 26 Mar 2012 05:24:26 +0000 (05:24 +0000)] 
don't fail silently. move check for firephp-lib to activeOptions method

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1305227 13f79535-47bb-0310-9956-ffa450edef68

5 years agopossible to use a concrete layout
Florian Semm [Mon, 26 Mar 2012 05:21:59 +0000 (05:21 +0000)] 
possible to use a concrete layout

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1305226 13f79535-47bb-0310-9956-ffa450edef68

5 years agoa few little changes
Florian Semm [Fri, 23 Mar 2012 06:57:51 +0000 (06:57 +0000)] 
a few little changes

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1304209 13f79535-47bb-0310-9956-ffa450edef68

5 years agoadd examples
Florian Semm [Wed, 21 Mar 2012 20:15:40 +0000 (20:15 +0000)] 
add examples

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1303551 13f79535-47bb-0310-9956-ffa450edef68

5 years agoremove unused statement
Florian Semm [Wed, 21 Mar 2012 20:14:00 +0000 (20:14 +0000)] 
remove unused statement

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1303550 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLOG4PHP-174 - Firephp appender logs to Firebug console.
Florian Semm [Tue, 20 Mar 2012 19:24:57 +0000 (19:24 +0000)] 
LOG4PHP-174 - Firephp appender logs to Firebug console.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1303112 13f79535-47bb-0310-9956-ffa450edef68

5 years agoLOG4PHP-174 - Firephp appender logs to Firebug console.
Florian Semm [Tue, 20 Mar 2012 18:35:53 +0000 (18:35 +0000)] 
LOG4PHP-174 - Firephp appender logs to Firebug console.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1303074 13f79535-47bb-0310-9956-ffa450edef68

5 years agoMade TTCC layout deprecated (updated docs, added a warning, removed it from examples...
Ivan Habunek [Mon, 19 Mar 2012 15:14:36 +0000 (15:14 +0000)] 
Made TTCC layout deprecated (updated docs, added a warning, removed it from examples in site docs, removed it from default config). Minor docs improvements.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1302503 13f79535-47bb-0310-9956-ffa450edef68