Re: Biggest changes done

2009-08-20 Thread Knut Urdalen
Awesome Christian! Thank you too! :) Knut

ScribeAppender?

2009-08-03 Thread Knut Urdalen
Have anyone here tried Scribe [1,2,3]? Knut [1] http://developers.facebook.com/scribe/ [2] http://sourceforge.net/projects/scribeserver/ [3] http://www.ruturaj.net/scribe-php-logging

Re: Adobe Wave Appender

2009-08-03 Thread Knut Urdalen
hp in my eyes. That middleware should fetch new log messages and put them onto the respective messages streams. Disc is faster than network and if we start supporting all kinds of different services out there we'll start creating a lot of unnecessary work for us. Let's keep it simple :) Knut

Re: LoggerManager, Logger, LoggerHierarchy

2009-07-31 Thread Knut Urdalen
ogger. These are the lines users will have to change in their code when upgrading to 2.0. Knut

Re: phpUnderControl running again

2009-07-18 Thread Knut Urdalen
er it and fix the target. For the record here's my /projects/log4php/build.xml file: output="${basedir}/build/logs/checkstyle.xml" error="/tmp/checkstyle.error.log"> failonerror="on">

Re: Maven vs Ant vs Website

2009-07-11 Thread Knut Urdalen
typical Maven project layout?) I'm not familiar with the current website publishing setup so if you have other preferences I'm totally fine with a switch to something better?. I mostly use Phing (or Ant) as my build tool. Knut [1] Building log4php with Maven http://mail-archives.

Re: Gathering Community Interest

2009-07-09 Thread Knut Urdalen
. I wrote an article about log4php way back for php|architect. Personally I don't feel there has been that many changes that a new article is worth it - so let's focus on online content. Any takers for updating the website? Knut

phpUnderControl running again

2009-07-09 Thread Knut Urdalen
Sorry, I've not watched after phpUnderControl lately. I just found out that CruiseControl was not running on my server anymore, just restarted it and it should be available again now: http://www.substring.no:8080/cruisecontrol/buildresults/log4php Knut

[jira] Commented: (LOG4PHP-53) Remove references

2009-07-09 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729415#action_12729415 ] Knut Urdalen commented on LOG4PHP-53: - Just a note from me: Normally it'

Re: LoggerPHPConfigurator - issue to close?

2009-05-24 Thread Knut Urdalen
Christian Grobmeier wrote: Knut, you created the PHP Configurator - just wrote a test for it. There is an issue existing: https://issues.apache.org/jira/browse/LOG4PHP-36 Can this be closed? Or is there some todo left? It's just an initial implementation so far. I have some more todo&#

Re: svn commit: r777996 - /incubator/log4php/trunk/src/main/php/LoggerAppender.php

2009-05-24 Thread Knut Urdalen
which classes can be instantiated (only instanceof LoggerAppender) which is logic that resides in a LoggerAppender::factory() method. Just some thoughts around this :) Knut

Re: svn commit: r777983 - /incubator/log4php/trunk/src/test/php/LoggerLoggingEventTest.php

2009-05-24 Thread Knut Urdalen
pened? I can reproduce this behaviour on two different macs, one with 10.4 and one with 10.5 I have no idea why this is/was inconsistent for you. To me I got it when running the whole test suite with simply typing "phpunit" in src/test/php. Knut

Re: RootLogger Default Level

2009-05-23 Thread Knut Urdalen
Christian Grobmeier wrote: what is the expected default Level of the RootLogger? It should be ALL :) Knut

Re: Continuous integration with phpUnderControl

2009-05-19 Thread Knut Urdalen
this extension is not available in the current environment. I will have to install it later so this test case is also executed. Remember to add markTestSkipped() in other similar cases in order to not "break the build" ;) Knut

Continuous integration with phpUnderControl

2009-05-19 Thread Knut Urdalen
e the settings according to our rules here) - output the logs of PMD (Project Mess Detection) from PHPUnit [6] - output some nice svg graphs to look at [7] Knut [1] http://www.substring.no:8080/cruisecontrol/buildresults/log4php [2] http://www.substring.no:8080/cruisecontrol/buildresults/log4ph

[jira] Resolved: (LOG4PHP-44) PEAR package

2009-05-19 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen resolved LOG4PHP-44. - Resolution: Fixed > PEAR package > > > Key

PEAR package available

2009-05-19 Thread Knut Urdalen
t success. If you know how to fix this please help me out :) Knut [1] http://pear.php.net/package/PEAR_PackageFileManager2 [2] http://svn.apache.org/repos/asf/incubator/log4php/trunk/package.php [3] http://svn.apache.org/repos/asf/incubator/log4php/trunk/package-config.php

[jira] Created: (LOG4PHP-44) PEAR package

2009-05-19 Thread Knut Urdalen (JIRA)
PEAR package Key: LOG4PHP-44 URL: https://issues.apache.org/jira/browse/LOG4PHP-44 Project: Log4php Issue Type: Improvement Components: Code Affects Versions: 2.0 Reporter: Knut Urdalen

Re: Sense of LoggerDefaultCategoryFactory

2009-05-07 Thread Knut Urdalen
Christian Grobmeier wrote: whats going on with those classes? LoggerDefaultCategoryFactory LoggeFactory Be aware that this is currently used in LoggerHierarchy::getLoggerByFactory(). Knut

[jira] Commented: (LOG4PHP-30) Implement LoggerAppenderPDO

2009-05-07 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706743#action_12706743 ] Knut Urdalen commented on LOG4PHP-30: - The PDO ctor throws a PDOExceptio

Re: Difficult Testcases

2009-05-07 Thread Knut Urdalen
up the syslog on the machine? Remember to write any temporary data into target/test (not within) src/test/php (I just saw that the LoggerAppenderPDOTest is writing and deleting a temporary sqlite database inside src/test/php/appenders). Hope this helps! :) Knut [1] http://www.phpunit.de/

Re: Continuous Integration (was Re: PEAR package)

2009-05-06 Thread Knut Urdalen
Curt Arnold wrote: mvn test (Mac OS/X) currently fails with the current message: test: [exec] [exec] Warning: require_once(PHPUnit/Util/Filter.php): failed to open stream: Not a directory in /usr/bin/phpunit on line 40 You need a recent version of PHPUnit installed [1]. Knut [1

Re: PEAR package

2009-05-06 Thread Knut Urdalen
list yesterday... Knut

[jira] Updated: (LOG4PHP-43) Remove size restriction of MDC table in LoggerMDC

2009-05-05 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen updated LOG4PHP-43: Attachment: 43-LoggerMDC.patch > Remove size restriction of MDC table in Logger

[jira] Created: (LOG4PHP-43) Remove size restriction of MDC table in LoggerMDC

2009-05-05 Thread Knut Urdalen (JIRA)
Reporter: Knut Urdalen Assignee: Knut Urdalen Priority: Minor Fix For: 2.0 The mapped diagnostic context is currently allowed to only store 7 context variables. Even though this should be enough in most cases, why should we do a hard limit here

PEAR package

2009-05-05 Thread Knut Urdalen
channel for apache packages is solved we can add PEAR packaging as a build task. Knut

Re: Not to sound ungrateful but....

2009-05-05 Thread Knut Urdalen
before we restarted all the recent work initiated April 28th 2009. Or pick another revision if you want. Knut

Re: Not to sound ungrateful but....

2009-05-05 Thread Knut Urdalen
fix LOG4PHP-41). Now I'm over to cleaning up the unit test suite according to new names and directory structure. I've already called for help [1] when it comes to improving our unit test suite, hope that we can get someone else on board as well for QA, that would be great! Knut

Re: Not to sound ungrateful but....

2009-05-05 Thread Knut Urdalen
r update the website before you make the changes Some of the changes today will break because I have to change a few things over more than 1-2 commits. Sorry, but that's how trunk works. It will be a bit unstable from time to time, but the cleanup is always around the corner :) Knut

Re: Exceptions

2009-05-05 Thread Knut Urdalen
cific to what context it resolves to. I'll just use LoggerException for simplicity, I like it :) Knut

Re: Exceptions

2009-05-05 Thread Knut Urdalen
of others. In general we should only throw exceptions during setup and not during the rest of the execution. Knut

Re: [jira] Created: (LOG4PHP-41) Refactor class names and directory layout

2009-05-05 Thread Knut Urdalen
Christian Grobmeier wrote: please let me know when you are doing these changes (or if) since I would like to avoid merge conflicts :-) It's going to happen soon (today or tomorrow). If I've assigned the task to myself, it means that I will do it ;) Knut

Re: Buildbot

2009-05-05 Thread Knut Urdalen
15889.html#a23315889 If you have Xdebug installed you'll have a code coverage report available in target/test/report/index.html I can set up other things as well, but I don't know the possibilities in Buildbot. Only used CruiseControl with phpUnderControl. Knut [1] http://phpundercontrol.org

[jira] Created: (LOG4PHP-41) Refactor class names and directory layout

2009-05-05 Thread Knut Urdalen (JIRA)
Reporter: Knut Urdalen Assignee: Knut Urdalen Priority: Minor Fix For: 2.0 We have agreed on changing a few class names: LoggerPatternLayout -> LoggerLayoutPattern LoggerXmlLayout -> LoggerLayoutXml LoggerDefaultRenderer -> LoggerRendererDefault LoggerObjec

Exceptions

2009-05-04 Thread Knut Urdalen
php? If so where do we need it and what kinds of exceptions can you think of? I think it's useful to have a shared overview of where we want to throw exceptions. Knut

Re: Class naming convention and directory structure

2009-05-04 Thread Knut Urdalen
y not have all core classes in the "root" folder src/main/php/* ? Yes, let's have all these classes in "root"-folder. Knut

Class naming convention and directory structure

2009-05-04 Thread Knut Urdalen
-> configurators (and move all configurators here) The "spi" folder only contains one interface. We could rename this folder to "core" i.e. and put all abstract classes, base classes and interfaces here. Let me know what you think! Is it ok for you? Any objections? If you don't disagree I can apply this soon. Knut

[jira] Created: (LOG4PHP-40) Merge LoggerAppender and LoggerAppenderSkeleton

2009-05-04 Thread Knut Urdalen (JIRA)
Reporter: Knut Urdalen Priority: Trivial Fix For: 2.0 As discussed on the mailing list today we should merge LoggerAppender and LoggerAppenderSkeleton into LoggerAppender. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment

[jira] Updated: (LOG4PHP-39) Remove deprecated methods

2009-05-04 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen updated LOG4PHP-39: Summary: Remove deprecated methods (was: Remove deprecated setPriority() in Logger and LoggerRoot

[jira] Resolved: (LOG4PHP-39) Remove deprecated setPriority() in Logger and LoggerRoot

2009-05-04 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen resolved LOG4PHP-39. - Resolution: Fixed > Remove deprecated setPriority() in Logger and LoggerR

[jira] Created: (LOG4PHP-39) Remove deprecated setPriority() in Logger and LoggerRoot

2009-05-04 Thread Knut Urdalen (JIRA)
: Knut Urdalen Assignee: Knut Urdalen Fix For: 2.0 The method setPriority() in Logger and LoggerRoot is deprecated and should be removed from the code. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.

[jira] Updated: (LOG4PHP-39) Remove deprecated setPriority() in Logger and LoggerRoot

2009-05-04 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen updated LOG4PHP-39: Component/s: Code Priority: Minor (was: Major) > Remove deprecated setPriority() in Log

Re: Sense of LoggerAppenderSkeleton and LoggerAppender

2009-05-04 Thread knut
LoggerAppender? Yes, everything in LoggerAppenderSkeleton can be moved to LoggerAppender. Both are abstract classes and LoggerAppender::singleton() is just used in configurator's (LoggerPropertyConfigurator, LoggerDOMConfigurator and the upcoming LoggerPhpConfigurator). Knut

Re: SVN commit messages

2009-05-03 Thread Knut Urdalen
other ticket. @Curt: can you check this out? Knut

[jira] Resolved: (LOG4PHP-38) Replace is_a() with instanceof

2009-05-03 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen resolved LOG4PHP-38. - Resolution: Fixed > Replace is_a() with instanc

[jira] Resolved: (LOG4PHP-35) Replace LOG4PHP_LINE_SEP with PHP_EOL

2009-05-03 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen resolved LOG4PHP-35. - Resolution: Fixed > Replace LOG4PHP_LINE_SEP with PHP_

[jira] Created: (LOG4PHP-38) Replace is_a() with instanceof

2009-05-03 Thread Knut Urdalen (JIRA)
Replace is_a() with instanceof -- Key: LOG4PHP-38 URL: https://issues.apache.org/jira/browse/LOG4PHP-38 Project: Log4php Issue Type: Improvement Components: Code Reporter: Knut Urdalen

[jira] Created: (LOG4PHP-37) Remove LoggerAppenderDb

2009-05-02 Thread Knut Urdalen (JIRA)
Remove LoggerAppenderDb --- Key: LOG4PHP-37 URL: https://issues.apache.org/jira/browse/LOG4PHP-37 Project: Log4php Issue Type: Task Components: Code Reporter: Knut Urdalen Assignee: Knut

[jira] Created: (LOG4PHP-36) Implement a LoggerPhpConfigurator

2009-05-02 Thread Knut Urdalen (JIRA)
Implement a LoggerPhpConfigurator - Key: LOG4PHP-36 URL: https://issues.apache.org/jira/browse/LOG4PHP-36 Project: Log4php Issue Type: New Feature Components: Code Reporter: Knut Urdalen

[jira] Created: (LOG4PHP-35) Replace LOG4PHP_LINE_SEP with PHP_EOL

2009-05-02 Thread Knut Urdalen (JIRA)
Replace LOG4PHP_LINE_SEP with PHP_EOL - Key: LOG4PHP-35 URL: https://issues.apache.org/jira/browse/LOG4PHP-35 Project: Log4php Issue Type: Improvement Components: Code Reporter: Knut

Re: Appenders who logs to existing files with existing markup

2009-05-02 Thread Knut Urdalen
text files, database rows etc). If you want HTML reports or even RSS feeds for specific categories that should be outside the scope of the actual logging process. Because of this reason I also prefer that the LoggerLayoutHtml should be removed since it breaks with this approach. Knut

[jira] Created: (LOG4PHP-34) Remove all internal debugging

2009-05-02 Thread Knut Urdalen (JIRA)
Remove all internal debugging - Key: LOG4PHP-34 URL: https://issues.apache.org/jira/browse/LOG4PHP-34 Project: Log4php Issue Type: Improvement Components: Code Reporter: Knut Urdalen

Re: Codestyle

2009-04-30 Thread Knut Urdalen
Ok, I'll fix the code style this weekend. We only have 54 source files. Not hard to fix manually since I have "Convert spaces to tabs" in TextMate :) Knut Curt Arnold wrote: If you do formatting changes, I'd suggest doing it as an independent commit not intermixed with an

Re: Codestyle

2009-04-30 Thread Knut Urdalen
new tool for me an most PHP developers don't know it either) so I will use quite some time fixing this, I guess you have better understanding on how to do such a change on a complete code base. Knut Curt Arnold wrote: If you do formatting changes, I'd suggest doing it as an independ

Re: Codestyle

2009-04-30 Thread Knut Urdalen
Christian Grobmeier wrote: I saw that newer methods hold brackets in the same line as method signature, while older doesnt. I am a fan of method { } like Knut seems to be, so can we agree on that codestyle? Yes, let's use the traditional Unix policy. I also saw _blub for private vari

Re: Call for help: Improving our unit test suite

2009-04-30 Thread Knut Urdalen
; [1] June 2007. Feel free to create new pages and document things like this. Knut [1] http://wiki.apache.org/logging/Log4PHP/Proposal

Appenders who logs to existing files with existing markup

2009-04-30 Thread Knut Urdalen
Xml to be able to add the logic needed for creating and updating a valid output. So my final question would be: Does it make sense to create a LoggerAppenderHtml in this case and modify the DOM upon appending messages? Any other suggestions on how to resolve this? Knut

Re: Call for help: Improving our unit test suite

2009-04-30 Thread Knut Urdalen
Xcode, but most of what you need is also available in MacPorts. Knut [1] http://www.macports.org [2] http://2tbsp.com/content/install_apache_2_and_php_5_macports

[jira] Resolved: (LOG4PHP-33) Appenders is not properly closed upon destruction

2009-04-30 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen resolved LOG4PHP-33. - Resolution: Fixed > Appenders is not properly closed upon destruct

[jira] Created: (LOG4PHP-33) Appenders is not properly closed upon destruction

2009-04-30 Thread Knut Urdalen (JIRA)
Reporter: Knut Urdalen Assignee: Knut Urdalen Priority: Critical Fix For: 2.0 Appenders doesn't seem to be properly closed. The LoggerAppenderSkeleton::finalize() is only used in __sleep() and __wakeup(), but the normal situation would at least be to

Call for help: Improving our unit test suite

2009-04-30 Thread Knut Urdalen
w test cases when it runs fine and cover new code. If you don't have commit access simply do: $ svn diff > something.patch and hand that file over to this mailing list so one of the committers can review and commit it. Knut [1] http://www.phpunit.de [2] http://www.xdebug.org

Re: Building log4php with Maven

2009-04-30 Thread Knut Urdalen
if you run the examples if they need to write something to disc. Unit tests currently don't have any output, but we'll stuff that into target as well for sure :) Knut

Re: [jira] Resolved: (LOG4PHP-1) Remove @author tags in code and document credits in README and website

2009-04-30 Thread Knut Urdalen
rd to work with other tools on top of it actually. Just my personal preference and lazy not learning other tools when command line does a great job ;) Knut

Re: [jira] Resolved: (LOG4PHP-1) Remove @author tags in code and document credits in README and website

2009-04-30 Thread Knut Urdalen
not commit this file even with a totally clean checkout. That's strange... I fixed the change log for you anyway now. svn up Maybe a "svn cleanup" would help here? Knut

Re: [jira] Resolved: (LOG4PHP-1) Remove @author tags in code and document credits in README and website

2009-04-30 Thread Knut Urdalen
. svn diff (select files if needed) 3. svn ci (select files if needed) Knut

Re: [jira] Resolved: (LOG4PHP-1) Remove @author tags in code and document credits in README and website

2009-04-29 Thread Knut Urdalen
unit tests before commit just to make sure I didn't break something that at least should have been working before. Knut

Re: LoggerDatePatternConverter::convert regular expression

2009-04-29 Thread Knut Urdalen
on here if we can to skip support for a "u" modifier in our date format. Knut

[jira] Reopened: (LOG4PHP-17) %l Pattern layout raises a protected property access error.

2009-04-29 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen reopened LOG4PHP-17: - > %l Pattern layout raises a protected property access er

[jira] Resolved: (LOG4PHP-17) %l Pattern layout raises a protected property access error.

2009-04-29 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen resolved LOG4PHP-17. - Resolution: Fixed Fix Version/s: 2.0 > %l Pattern layout raises a protected prope

[jira] Resolved: (LOG4PHP-19) Logger location info is invalid in log outputs of Logger's subclasses.

2009-04-29 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen resolved LOG4PHP-19. - Resolution: Fixed > Logger location info is invalid in log outputs of Logger's su

[jira] Reopened: (LOG4PHP-19) Logger location info is invalid in log outputs of Logger's subclasses.

2009-04-29 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen reopened LOG4PHP-19: - > Logger location info is invalid in log outputs of Logger's su

[jira] Updated: (LOG4PHP-19) Logger location info is invalid in log outputs of Logger's subclasses.

2009-04-29 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen updated LOG4PHP-19: Affects Version/s: (was: 2.0) Fix Version/s: 2.0 > Logger location info is invalid

[jira] Resolved: (LOG4PHP-18) Date pattern %d conversion is invalid.

2009-04-29 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen resolved LOG4PHP-18. - Resolution: Fixed > Date pattern %d conversion is inva

[jira] Reopened: (LOG4PHP-18) Date pattern %d conversion is invalid.

2009-04-29 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen reopened LOG4PHP-18: - Assignee: Knut Urdalen > Date pattern %d conversion is inva

[jira] Resolved: (LOG4PHP-16) Patch for LoggerAppenderSyslog to use Layouts

2009-04-29 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen resolved LOG4PHP-16. - Resolution: Fixed Assignee: Knut Urdalen Marshall has a good point about size limits for

[jira] Resolved: (LOG4PHP-12) LoggerAppenderFile does not create missing directories

2009-04-29 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen resolved LOG4PHP-12. - Resolution: Fixed Missing directories is now created automatically (even recursive

[jira] Resolved: (LOG4PHP-20) Custom layout for LoggerAppenderPhp

2009-04-29 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen resolved LOG4PHP-20. - Resolution: Fixed Assignee: Knut Urdalen Thanks! Modified patch applied. The suggestion

Re: Getting rid of author tags:

2009-04-29 Thread Knut Urdalen
in the change log file now. Whenever you resolve a ticket you should also add a comment to the CHANGELOG. Knut

[jira] Resolved: (LOG4PHP-31) Removing unnecessary use of LOG4PHP_DIR

2009-04-29 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen resolved LOG4PHP-31. - Resolution: Fixed > Removing unnecessary use of LOG4PHP_

Re: [jira] Commented: (LOG4PHP-26) Add file locking to file appenders

2009-04-28 Thread Knut Urdalen
een two or more PHP processes logging to the same file at the same time. It should be fine to log to the same file from different PHP processes (we don't want to limit that possibility). Knut

[jira] Created: (LOG4PHP-32) Refactor from using define to class contants

2009-04-28 Thread Knut Urdalen (JIRA)
Reporter: Knut Urdalen Priority: Minor Fix For: 2.0 There is many places in the code where we can use class constants instead of define()'s. This will both improve readability and usage in my eyes in addition to a tiny speed improvement since defines are evaluat

[jira] Created: (LOG4PHP-31) Removing unnecessary use of LOG4PHP_DIR

2009-04-28 Thread Knut Urdalen (JIRA)
: Knut Urdalen Assignee: Knut Urdalen Priority: Trivial Fix For: 2.0 LOG4PHP_DIR is no longer required for any other code than LoggerManager::autoload(). We should keep LOG4PHP_DIR here to set it automatically if not set from user land code. All other

Which PHP version to support in 2.0?

2009-04-28 Thread Knut Urdalen
08.2.2 requires PHP >= 5.2.1 Please add your comments and suggestions if you have any. Knut

Re: One class one file?

2009-04-28 Thread Knut Urdalen
o the main class in that particular file. I think we have more important stuff to work on than moving classes around ;) Knut

[jira] Created: (LOG4PHP-30) Implement LoggerAppenderPDO

2009-04-28 Thread Knut Urdalen (JIRA)
Implement LoggerAppenderPDO --- Key: LOG4PHP-30 URL: https://issues.apache.org/jira/browse/LOG4PHP-30 Project: Log4php Issue Type: New Feature Components: Code Reporter: Knut Urdalen

What do do with our database appenders?

2009-04-28 Thread Knut Urdalen
rsion of log4php we now have PDO [3] which would be a more natural choice for us. Initially I would suggest to at least create a LoggerAppenderPDO and maybe remove LoggerAppenderAdodb and LoggerAppenderDb. Any opinions? Knut [1] http://adodb.sourceforge.net [2] http://pear.php.net/package/

Re: Getting rid of author tags:

2009-04-28 Thread Knut Urdalen
t (I see the change Maven Changes Plugin let you use a variety of attributes I'm unsure of how we should use). We should also attribute past developers/contributors and the initial creator of log4php for sure :) Knut

[jira] Commented: (LOG4PHP-26) Add file locking to file appenders

2009-04-28 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12703698#action_12703698 ] Knut Urdalen commented on LOG4PHP-26: - We have raised this discussion as par

Re: [jira] Closed: (LOG4PHP-21) Incorrect params passed in set_include_path

2009-04-28 Thread Knut Urdalen
it's very easy to also copy and paste all issues related to each release together with the release announcement and use it on our website. I'm not 100% sure about what format we should use on our changelog, but we should keep it as simple as this and try to update it together with our commits. Knut

Re: Autoloading now in trunk

2009-04-28 Thread Knut Urdalen
toload_register(), __autoload() is kind of the last way out if you need complete control and know what you are doing since you can only declare one __autoload() method ;) In library code like log4php you should provide an autoload-method (like LoggerManager::autoload()) which does the job for you. Knut

[jira] Resolved: (LOG4PHP-29) Load classes through autoload instead of explicitly include them

2009-04-28 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen resolved LOG4PHP-29. - Resolution: Fixed > Load classes through autoload instead of explicitly include t

Autoloading now in trunk

2009-04-28 Thread Knut Urdalen
hen you include LoggerManager.php. Knut [1] http://svn.apache.org/viewvc?view=rev&revision=769408

Re: One class one file?

2009-04-28 Thread Knut Urdalen
Christian Grobmeier wrote: i figured out that not every class in log4php has it's own file. Can we agree on that convention? Fine, which files do you think of? I'm working on the autoload implementation and would like to know ;) Knut

[jira] Created: (LOG4PHP-29) Load classes through autoload instead of explicitly include them

2009-04-28 Thread Knut Urdalen (JIRA)
Components: Code Reporter: Knut Urdalen Assignee: Knut Urdalen Fix For: 2.0 We should use PHP's autoload mechanism to load classes instead of explicitly include them. This will both simplify the code and only load the needed classes at ru

Re: Google Summer Of Code

2009-04-28 Thread Knut Urdalen
ation deadline" was on March 13th for GSoC 2009. Knut

[jira] Resolved: (LOG4PHP-25) Allow to set environment variables in LoggerOptionConverter

2009-04-28 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen resolved LOG4PHP-25. - Resolution: Fixed > Allow to set environment variables in LoggerOptionConver

[jira] Resolved: (LOG4PHP-28) LoggerAppenderConsole doesn't write to STDERR

2009-04-28 Thread Knut Urdalen (JIRA)
[ https://issues.apache.org/jira/browse/LOG4PHP-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Urdalen resolved LOG4PHP-28. - Resolution: Fixed Fix Version/s: 2.0 Assignee: Knut Urdalen Thanks Michael

[jira] Created: (LOG4PHP-27) Add the option of defining permissions of a log file

2009-04-28 Thread Knut Urdalen (JIRA)
: Code Reporter: Knut Urdalen Priority: Minor Fix For: 2.0 Christian Hammers has proposed to add the option of defining log file permissions as part of configuration: http://www.nabble.com/Adding-umask-chmod-to-FileAppender--tt11748228.html#a11748228 -- This

[jira] Created: (LOG4PHP-26) Add file locking to file appenders

2009-04-28 Thread Knut Urdalen (JIRA)
Add file locking to file appenders -- Key: LOG4PHP-26 URL: https://issues.apache.org/jira/browse/LOG4PHP-26 Project: Log4php Issue Type: New Feature Components: Code Reporter: Knut

[jira] Created: (LOG4PHP-25) Allow to set environment variables in LoggerOptionConverter

2009-04-28 Thread Knut Urdalen (JIRA)
Components: Code Reporter: Knut Urdalen Assignee: Knut Urdalen Priority: Minor Fix For: 2.0 Christian Hammers proposed the following on the mailinglist: "Allow to set environment variables using Apaches SetEnv or mod_rewrite or PHPs putenv()

  1   2   >