logging-log4php.git
3 years agoFixed travis config for mongodb to work travis-ci
Ivan Habunek [Wed, 18 Dec 2013 07:35:44 +0000 (08:35 +0100)] 
Fixed travis config for mongodb to work

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
3 years agoAdded chat and email notifications for travis-ci
Ivan Habunek [Tue, 17 Dec 2013 07:47:06 +0000 (08:47 +0100)] 
Added chat and email notifications for travis-ci

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
3 years agoAdded Travis-CI config file
Ivan Habunek [Sun, 15 Dec 2013 00:23:30 +0000 (01:23 +0100)] 
Added Travis-CI config file

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
3 years agoAdded docs for several appenders
Ivan Habunek [Sat, 14 Dec 2013 17:23:44 +0000 (18:23 +0100)] 
Added docs for several appenders

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
3 years agoFixed tab bug in docs javascript
Ivan Habunek [Sat, 14 Dec 2013 17:05:56 +0000 (18:05 +0100)] 
Fixed tab bug in docs javascript

Tabs did not work correctly if they appeared more than once on the same
docs page. Fixed javascript to work correctly in that case.

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
3 years agoLOG4PHP-205: Avoid warning when getting location info
Ivan Habunek [Sat, 14 Dec 2013 15:49:41 +0000 (16:49 +0100)] 
LOG4PHP-205: Avoid warning when getting location info

debug_backtrace() sometimes does not return 'file' and 'line' values. So
check if they exist before using them.

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
3 years agoBumped sphinx version to 1.2 (stable)
Ivan Habunek [Sat, 14 Dec 2013 15:49:19 +0000 (16:49 +0100)] 
Bumped sphinx version to 1.2 (stable)

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
3 years agoLOG4PHP-194: Merge branch 'docs' into develop
Ivan Habunek [Sat, 14 Dec 2013 14:54:29 +0000 (15:54 +0100)] 
LOG4PHP-194: Merge branch 'docs' into develop

Documentation rewritten to rst format, and generated to html using sphinx.

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
3 years agoLOG4PHP-204: added support for MDC context in mongo appender.
Vladimir Gorej [Fri, 21 Jun 2013 09:29:39 +0000 (11:29 +0200)] 
LOG4PHP-204: added support for MDC context in mongo appender.

Signed-off-by: Vladimir Gorej <gorej@codescale.net>
Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoLOG4PHP-210: fixed filesize stats failed issue
Christian Grobmeier [Mon, 22 Jul 2013 07:30:24 +0000 (09:30 +0200)] 
LOG4PHP-210: fixed filesize stats failed issue

4 years agoLOG4PHP-207: Fix BC issue with host parameter.
Vladimir Gorej [Mon, 18 Mar 2013 18:36:01 +0000 (19:36 +0100)] 
LOG4PHP-207: Fix BC issue with host parameter.

Host paramter can be specified with or without mongo:// protocol prefix.
However it is prefered to specify it wouth the prefix.

Signed-off-by: Vladimir Gorej <gorej@codescale.net>
Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoFixed table formatting in docs docs
Ivan Habunek [Mon, 18 Mar 2013 18:05:52 +0000 (19:05 +0100)] 
Fixed table formatting in docs

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoLOG4PHP-207: Mongo appender documentation update.
Vladimir Gorej [Mon, 18 Mar 2013 17:12:18 +0000 (18:12 +0100)] 
LOG4PHP-207: Mongo appender documentation update.

Signed-off-by: Vladimir Gorej <gorej@codescale.net>
Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoMinor fix for MongoDB tests
Ivan Habunek [Mon, 18 Mar 2013 17:37:40 +0000 (18:37 +0100)] 
Minor fix for MongoDB tests

Made tearDown() check for the mongodb extension as well as setUp()
otherwise the tests would fail if extension was not loaded, instead
of being skipped.

Signed-off-by: Ivan Habunek <ivan.habunek@gmail.com>
4 years agoLOG4PHP-207: Using class MongoClient instead of Mongo
Vladimir Gorej [Sun, 17 Mar 2013 15:13:50 +0000 (16:13 +0100)] 
LOG4PHP-207: Using class MongoClient instead of Mongo

 - additional connection options support
 - support for replica tests
 - support for multiple hosts via connection string

Signed-off-by: Vladimir Gorej <gorej@codescale.net>
Signed-off-by: Ivan Habunek <ivan.habunek@gmail.com>
4 years agoAdded getter for LoggerEvent::$locationInfo
Ivan Habunek [Wed, 13 Mar 2013 21:53:45 +0000 (22:53 +0100)] 
Added getter for LoggerEvent::$locationInfo

This can be used to override the default event's location information.

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoSwitched doc theme to sphinx13
Ivan Habunek [Sat, 23 Feb 2013 13:38:25 +0000 (14:38 +0100)] 
Switched doc theme to sphinx13

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoMinor improvements to docs
Ivan Habunek [Sat, 23 Feb 2013 13:38:00 +0000 (14:38 +0100)] 
Minor improvements to docs

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoYet another doc theme, based on sphinx13 theme
Ivan Habunek [Sat, 23 Feb 2013 13:28:00 +0000 (14:28 +0100)] 
Yet another doc theme, based on sphinx13 theme

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoRenamed doc theme log4php-sd to log4php-sphinxdoc
Ivan Habunek [Sat, 23 Feb 2013 13:23:38 +0000 (14:23 +0100)] 
Renamed doc theme log4php-sd to log4php-sphinxdoc

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoNew docs theme based on sphinxdoc
Ivan Habunek [Sat, 23 Feb 2013 10:19:56 +0000 (11:19 +0100)] 
New docs theme based on sphinxdoc

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoFurther refinements on the bootstrap docs theme
Ivan Habunek [Sat, 23 Feb 2013 10:18:16 +0000 (11:18 +0100)] 
Further refinements on the bootstrap docs theme

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoRemoved accidentally commited pyc file
Ivan Habunek [Sat, 23 Feb 2013 09:03:42 +0000 (10:03 +0100)] 
Removed accidentally commited pyc file

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoLOG4PHP-200: Improved superglobal access in converters LOG4PHP-200
Ivan Habunek [Mon, 7 Jan 2013 14:48:39 +0000 (15:48 +0100)] 
LOG4PHP-200: Improved superglobal access in converters

Removed the current, slightly hackish access to superglobal variables,
i.e. ${$this->name}. Instead added a function in each sub-class which
returns the contents of the required superglobal. This fixes the issue and
replaces hacky accessing with more vanilla code.

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoLOG4PHP-153: Made LoggerAppenderMailEvent deprecated
Ivan Habunek [Mon, 7 Jan 2013 14:31:15 +0000 (15:31 +0100)] 
LOG4PHP-153: Made LoggerAppenderMailEvent deprecated

A warning will be issued if used. Added a warning to docs.

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoLOG4PHP-153: Updated LoggerAppenderMail docs
Ivan Habunek [Mon, 7 Jan 2013 13:56:49 +0000 (14:56 +0100)] 
LOG4PHP-153: Updated LoggerAppenderMail docs

Added docs for bufferSize parameter and buffering.

Removed bit which recommended using LoggerAppenderMailEvent which will
soon be made deprecated.

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoLOG4PHP-153: Added bufferSize parameter to LoggerAppenderMail
Ivan Habunek [Wed, 2 Jan 2013 07:36:40 +0000 (08:36 +0100)] 
LOG4PHP-153: Added bufferSize parameter to LoggerAppenderMail

This parameter determines how many messages are buffered before the buffer
is sent to the recipient. If bufferSize is not set, the appender will send
all messages together on close (same as prior behaviour, so it remains
backward compatible).

Based on patch by Michal Vanek (see JIRA issue).

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoLOG4PHP-203; added capped collection support for mongo appender to docs.
Vladimir Gorej [Tue, 1 Jan 2013 15:37:07 +0000 (16:37 +0100)] 
LOG4PHP-203; added capped collection support for mongo appender to docs.

Signed-off-by: Vladimir Gorej <gorej@codescale.net>
Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoLOG4PHP-203; fixed tests for capped collections for mongo appender.
Vladimir Gorej [Mon, 31 Dec 2012 15:01:22 +0000 (16:01 +0100)] 
LOG4PHP-203; fixed tests for capped collections for mongo appender.

Signed-off-by: Vladimir Gorej <gorej@codescale.net>
Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoLOG4PHP-203; tests for capped collections in mongo appender.
Vladimir Gorej [Mon, 31 Dec 2012 11:13:54 +0000 (12:13 +0100)] 
LOG4PHP-203; tests for capped collections in mongo appender.

Signed-off-by: Vladimir Gorej <gorej@codescale.net>
Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoLOG4PHP-203; added support for capped collection in mongo appender
Vladimir Gorej [Mon, 31 Dec 2012 10:43:58 +0000 (11:43 +0100)] 
LOG4PHP-203; added support for capped collection in mongo appender

Capped collections are fixed-size collections that support
high-throughput operations that insert, retrieve, and delete documents
based on insertion order. Capped collections work in a way similar to
circular buffers: once a collection fills its allocated space, it makes
room for new documents by overwriting the oldest documents in the
collection.

Signed-off-by: Vladimir Gorej <gorej@codescale.net>
Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoSet default behaviour, in case users don't have core.autocrlf set.
Vladimir Gorej [Mon, 31 Dec 2012 09:51:25 +0000 (10:51 +0100)] 
Set default behaviour, in case users don't have core.autocrlf set.

Signed-off-by: Vladimir Gorej <gorej@codescale.net>
Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoLOG4PHP-197: Made Logger::isInitialized() public
Ivan Habunek [Mon, 31 Dec 2012 11:21:09 +0000 (12:21 +0100)] 
LOG4PHP-197: Made Logger::isInitialized() public

Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoImprovements to LoggerAppenderMail
Ivan Habunek [Mon, 31 Dec 2012 10:54:51 +0000 (11:54 +0100)] 
Improvements to LoggerAppenderMail

* added checking of required parameters (to, from)
* removed deprecated dry mode which is no longer used for testing
* improved tests

4 years agoLOG4PHP-144: LoggerAppenderMail should set Content-type header
Ivan Habunek [Mon, 31 Dec 2012 10:39:15 +0000 (11:39 +0100)] 
LOG4PHP-144: LoggerAppenderMail should set Content-type header

Modified appender to set the Content-type header which it retrieves
from the layout.

Also improved tests, and removed the dry mode testing. It's better to get
the appender to actually send an email. For this I used the
log4php@gmail.com address which is accessible by the Logging Services PMC.

4 years agoPrepared changes.xml for next version.
Ivan Habunek [Mon, 31 Dec 2012 10:26:49 +0000 (11:26 +0100)] 
Prepared changes.xml for next version.

4 years agoImproved display of function rst directive.
Ivan Habunek [Sun, 30 Dec 2012 09:10:14 +0000 (10:10 +0100)] 
Improved display of function rst directive.

4 years agoAdded .pyc files to gitignore
Ivan Habunek [Sun, 30 Dec 2012 09:00:02 +0000 (10:00 +0100)] 
Added .pyc files to gitignore

4 years agoIssue #201; fixed tests for rolling file appender on ubuntu linux.
Vladimir Gorej [Sat, 29 Dec 2012 11:12:26 +0000 (12:12 +0100)] 
Issue #201; fixed tests for rolling file appender on ubuntu linux.

Signed-off-by: Vladimir Gorej <gorej@codescale.net>
Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoAdded PhpStorm IDE project files into .gitignore.
Vladimir Gorej [Mon, 24 Dec 2012 13:11:29 +0000 (14:11 +0100)] 
Added PhpStorm IDE project files into .gitignore.

Signed-off-by: Vladimir Gorej <gorej@codescale.net>
Signed-off-by: Ivan Habunek <ihabunek@apache.org>
4 years agoAdded composer.lock and vendors to .gitignore.
Ivan Habunek [Sat, 29 Dec 2012 11:43:25 +0000 (12:43 +0100)] 
Added composer.lock and vendors to .gitignore.

4 years agoCleaned up phpdoc for layouts. Added missing accessors.
Ivan Habunek [Wed, 26 Dec 2012 10:41:19 +0000 (11:41 +0100)] 
Cleaned up phpdoc for layouts. Added missing accessors.

4 years agoAdded Eclipse generated files to gitignore.
Ivan Habunek [Wed, 19 Dec 2012 12:16:15 +0000 (13:16 +0100)] 
Added Eclipse generated files to gitignore.

4 years agoUpdated README for docs
Ivan Habunek [Mon, 17 Dec 2012 16:04:50 +0000 (17:04 +0100)] 
Updated README for docs

4 years agoFixed line breaks
Ivan Habunek [Mon, 17 Dec 2012 16:04:37 +0000 (17:04 +0100)] 
Fixed line breaks

4 years agoInitial implementation of the new manual
Ivan Habunek [Mon, 17 Dec 2012 14:52:25 +0000 (15:52 +0100)] 
Initial implementation of the new manual

The manual is generated using Sphinx. Source pages are in reStructuredText
markup langauge. The commit includes a custom theme based on Bootstrap
(unfinished). Building required python, see README.rst for instructions.

4 years agoUpdated paths to the SCM in pom.xml
Ivan Habunek [Sun, 9 Dec 2012 10:04:34 +0000 (11:04 +0100)] 
Updated paths to the SCM in pom.xml

It seems maven reports plugin does not know how to handle git repos so the
pattern scm:git:<url> did not render the correct git-specific information.
Removed "git:" so it's not rendered before the scm url.

4 years agoUpdated release date for 2.3.0 in changelog
Ivan Habunek [Sat, 8 Dec 2012 09:39:47 +0000 (10:39 +0100)] 
Updated release date for 2.3.0 in changelog

4 years agoBumped version to 2.3.0 on download page
Ivan Habunek [Sat, 8 Dec 2012 09:38:18 +0000 (10:38 +0100)] 
Bumped version to 2.3.0 on download page

For some reason this was not commited when the release was made. However,
the page was updated on the web site.

4 years agoRemoved svn keywords, mostly $Revision$
Ivan Habunek [Fri, 7 Dec 2012 22:40:49 +0000 (23:40 +0100)] 
Removed svn keywords, mostly $Revision$

4 years agoUpdated paths to the source repository where applicable
Ivan Habunek [Fri, 7 Dec 2012 22:31:05 +0000 (23:31 +0100)] 
Updated paths to the source repository where applicable

4 years agoAdded temp/ and target/ to .gitignore
Ivan Habunek [Fri, 7 Dec 2012 21:21:28 +0000 (22:21 +0100)] 
Added temp/ and target/ to .gitignore

5 years agoLOG4PHP-191: Improved composer.json, added vendors folder to svn:ignore. trunk
Ivan Habunek [Fri, 26 Oct 2012 07:55:57 +0000 (07:55 +0000)] 
LOG4PHP-191: Improved composer.json, added vendors folder to svn:ignore.

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

5 years agoLOG4PHP-191: Created composer.json.
Ivan Habunek [Thu, 25 Oct 2012 13:42:22 +0000 (13:42 +0000)] 
LOG4PHP-191: Created composer.json.

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

5 years ago[maven-release-plugin] prepare for next development iteration
Ivan Habunek [Mon, 8 Oct 2012 14:45:16 +0000 (14:45 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1395588 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