[ANNOUNCEMENT] Welcome Ralph Goers as the new Apache Logging Chair

2015-11-20 Thread Christian Grobmeier
Hello all, I was the chair of the Apache Logging Services project for 3 1/2 years. Thank you, it was a great time. But it is time to move on. I think it is critical for ASF projects to let the Chair role rotate. At Logging Services, we agreed to discuss the role each year at the time of the ASF

Re: Need help integrating log4php

2013-08-02 Thread Christian Grobmeier
ss. Can you somehow find out if the loggerAutoloader works for you? maybe with outputting something. My guess is the problem relates to namespaces Cheers (from germany too) > > > Can someone give me some advise me? > > > Best wishes from Germany, > Jan > > > > On 0

Re: Need help integrating log4php

2013-08-02 Thread Christian Grobmeier
Sure! On Fri, Aug 2, 2013 at 2:40 PM, Jan Galler wrote: > Hey guys, > > Is this mailing-list still working? > > > Jan -- http://www.grobmeier.de https://www.timeandbill.de

Re: SVN going to readonly mode

2012-11-28 Thread Christian Grobmeier
On Wed, Nov 28, 2012 at 8:52 PM, Vladimír Gorej wrote: > Sure, if it is on git, I will be as active as I can. Btw I have been working > with git for 2 years now, so if anybody have a problem or a question > regarding git, I will be more than happy to help. Good to know! > > > On Wed, Nov 28, 201

Re: Moving log4php to git

2012-11-12 Thread Christian Grobmeier
y > repo. Well, look at it like me (i am not good with git): its a great chance to learn more about it. And hey... we are looking forward to your contributions :-) Cheers > > -Original Message- > From: Christian Grobmeier [mailto:grobme...@gmail.com] > Sent: Monday, Nove

Re: Moving log4php to git

2012-11-12 Thread Christian Grobmeier
On Mon, Nov 12, 2012 at 2:32 PM, Michael Sole wrote: > And isn't log4php? It does not mean we are limited to ASF tools. Every project can freely chose the tools it wants > > -Original Message- > From: Ivan Habunek [mailto:ivan.habu...@gmail.com] > Sent: Saturday, November 10, 2012 10:50

Fwd: Log4Php Quickstart, config.xml minor issue

2012-11-02 Thread Christian Grobmeier
Hi, I received this e-mail before short Cheers Christian -- Forwarded message -- From: Gábor Dicső Date: Fri, Nov 2, 2012 at 4:34 PM Subject: Re: Log4Php Quickstart, config.xml minor issue To: Christian Grobmeier Sure, it's OK. Thanks, Gábor 2012/11/2 Christian Grob

Re: ApacheCon meetup

2012-10-24 Thread Christian Grobmeier
Me is there too. I am there on wednesday and thursday. My twitter is @grobmeier And we should all take our GPG stuff with us to finally be able to sign each others keys Cheers Christian On Wed, Oct 24, 2012 at 4:05 PM, Ivan Habunek wrote: > I will be at ApacheCon EU in Sinsheim for the full dura

Re: Log4php for Magento

2012-10-15 Thread Christian Grobmeier
On Mon, Oct 15, 2012 at 5:59 PM, Ivan Habunek wrote: > On 15 October 2012 17:56, Praxi Support wrote: >> there is Apache Log4php wrapper for Magento - >> http://www.magentocommerce.com/magento-connect/catalog/product/view/id/14597/ Cool, really. > Thanks Alex. We really should make a page with

Re: Convert to array from XML

2012-05-16 Thread Christian Grobmeier
onfiguration options. Probably we can manage to make some kind of plugin mechanism. Cheers + thanks for your valuable feedback! Christian > > > > -Original Message- > From: Christian Grobmeier [mailto:grobme...@gmail.com] > Sent: Wednesday, May 16, 2012 1:57 PM > To:

Re: Convert to array from XML

2012-05-16 Thread Christian Grobmeier
Hello Michael, On Wed, May 16, 2012 at 7:46 PM, Michael Sole wrote: > Thanks! > > Not sure why this isn’t better documented. If multiple arrays didn’t make my > eyes bleed I would offer to doc this better. However it seems a more > intuitive approach would make more sense. Something like: > >

Re: Convert to array from XML

2012-05-15 Thread Christian Grobmeier
d automatically? I am not a pear expert, but my expectation is it should load automatically. Can you show us your folder structure? Cheers > Mike > > -Original Message- > From: Christian Grobmeier [mailto:grobme...@gmail.com] > Sent: Tuesday, May 15, 2012 1:51 PM &g

Re: Convert to array from XML

2012-05-15 Thread Christian Grobmeier
On Tue, May 15, 2012 at 7:34 PM, Michael Sole wrote: > We are using log4php quite extensively in our application. We began by using > the XML config file but found that too much of a hassle as we end up with > lots of them. The array method of configuring loggers seems much more > efficient but I

Re: Trying to set filter from ini config

2011-12-29 Thread Christian Grobmeier
On Thu, Dec 29, 2011 at 2:15 AM, Manasi Sahasrabudhe wrote: > Is there a way to reset/flush logger? This should be done when you call logger->shutdown() at the end of your testscript, depending on the Appender you have chosen. > When I run unit test cases from my logger I can see that logging ou

Re: Can not access object from extended class

2011-09-02 Thread Christian Grobmeier
Mike, the "Elder" constructor is not called by default in PHP. You must use function __construct() { parent::__construct(); ... in your "Young" class, then it should work. Cheers On Fri, Sep 2, 2011 at 5:19 PM, Michael Sole wrote: > Ivan, > > I think the problem may have to do with

Re: LoggerAppenderRollingFile, missing feature or documenation bug?

2011-08-23 Thread Christian Grobmeier
Hello Janne, nice idea :-) dateOption does not exist: http://svn.apache.org/repos/asf/logging/log4php/trunk/src/main/php/appenders/LoggerAppenderRollingFile.php Could you create a Jira issue for your idea? https://issues.apache.org/jira/browse/LOG4PHP I think we should include it in the next re

Re: settings of log4php for Apache - Chainsaw logviewer (log4j format)

2011-08-10 Thread Christian Grobmeier
Hello Csaba, > I would like to read the log4php logs by Apache Chainsaw logviewer, but it > only accept log4j xml, how can I produce log4j xml log by log4php. Attention: https://issues.apache.org/jira/browse/LOG4PHP-87 > I saw the api, where i guess the LoggerLayoutXml.setLog4jNamespace should b

Re: Typo in project Quickstart page

2011-07-30 Thread Christian Grobmeier
Thanks, I fixed it. Will go live with the next site deployment. > BTW, this logging framework is great! Thanks, great to hear :-) Cheers Christian

Re: unsuscribe

2011-07-26 Thread Christian Grobmeier
Send an email to: log4php-user-unsubscr...@logging.apache.org to unsubscribe On Tue, Jul 26, 2011 at 8:24 AM, ORBAN Roger wrote: > > > --- > > GreeNRB > NRB considers its environmental responsibility and goes for green IT. > May we

Re: LoggerAppenderFile on Windows

2011-07-25 Thread Christian Grobmeier
We forgive you ;-) Have a nice one! On Mon, Jul 25, 2011 at 6:58 PM, krazykev wrote: > > Don't pin that on me ;-) I should have spotted that first - how many times do > I tell people to read there code carefully! Oh well - sure it won't be > last blunder :) > >

Re: LoggerAppenderFile on Windows

2011-07-25 Thread Christian Grobmeier
>> All apenders still appear before the logger.  I should have made that >> clear. >> >> I am still working on this - so far it appears that when parsing the >> FileAppender xml, for some reason the close tag callback is not getting >> executed.  Still tracking d

Re: LoggerAppenderFile on Windows

2011-07-25 Thread Christian Grobmeier
Kev found a bug and Ivan gets out of his holidays ;-) On Mon, Jul 25, 2011 at 6:48 PM, Ivan Habunek wrote: > Our documentation has a bug. :) > > Thanks for reporting this, Kev. We'll fix the docs. > > Also, we're working on a new and improved configuration parser which will > report any errors p

Re: LoggerAppenderFile on Windows

2011-07-25 Thread Christian Grobmeier
won't be any.  Still going through > the log4php code. Yes, please read this issue: https://issues.apache.org/jira/browse/LOG4PHP-101 Patches welcome ;-) > > > > Christian grobmeier wrote: >> >>> You are right, the echo statement isn't code good.  BUt it work

Re: LoggerAppenderFile on Windows

2011-07-25 Thread Christian Grobmeier
to look on your xml or on the location of your xml > I am currently going > through the log4php code to see if I can spot the problem. > > Any other ideas? > > > Christian grobmeier wrote: >> >> Hi >> >> did you realize you pasted: >> echo Hello W

Re: LoggerAppenderFile on Windows

2011-07-25 Thread Christian Grobmeier
difference. > And the error reporting line doesn't add any errors to stdout (or should I > be looking elsewhere)? > Kev > > > Christian grobmeier wrote: >> >> Hey Kev, >> >> did you try this: >> >> >>     >> >> >> &g

Re: LoggerAppenderFile on Windows

2011-07-25 Thread Christian Grobmeier
Hey Kev, did you try this: Replace file value with your log location. Maybe its some configuration missing. And you can try to call this in the first line of your script: error_reporting(E_ALL); This should bring up any errors, if any. Let me know what the outcome is Cheers

Re: File name in log file

2011-06-10 Thread Christian Grobmeier
Hi, can you show us the Logging code? Esspecially the Logger::getLogger code is of interest. Thanks Christian On Fri, Jun 10, 2011 at 12:53 PM, Mohit Srivastava wrote: > Hi all, > > I write a wrapper over log4php api named as loggerimplementation.php > > Now i faced a problem in log files. Whe

Re: No Output

2011-03-07 Thread Christian Grobmeier
> > On Mon, Mar 7, 2011 at 11:33 AM, Christian Grobmeier > wrote: >> >> Hi Mohit, >> >> did you use a configuration file? Can you post it? >> >> Cheers >> Christian >> >> On Sun, Mar 6, 2011 at 10:51 AM, Mohit Srivastava >> wrote

Re: No Output

2011-03-06 Thread Christian Grobmeier
Hi Mohit, did you use a configuration file? Can you post it? Cheers Christian On Sun, Mar 6, 2011 at 10:51 AM, Mohit Srivastava wrote: > Hello, i am mohit. > Just starting to use log4php. > I just made a folder named as Myapp having two file Bar.php and Myapp.php. > > as explain in http://loggi

Re: conversion pattern problem

2011-01-09 Thread Christian Grobmeier
option you have is the trunk version, but released versions are usually better for production systems Cheers Christian > and i am attaching the files too. > > ill update if the wrong timestamp would occur again. > > thanks a whole lot. > > > Ivan Habunek wrote: >> >&g

Re: conversion pattern problem

2011-01-07 Thread Christian Grobmeier
Ivan, is this what you committed yesterday? Christian On Thu, Jan 6, 2011 at 7:38 AM, tinkee wrote: > > hi! > > I have a question regarding the LoggerLayoutPattern.. > > In my xml file i have the: > > layout >  class - LoggerLayoutPattern >  param >     name - conversionPattern >     value - %d{Y

Re: log4php not working properly

2011-01-04 Thread Christian Grobmeier
rmissions messed up. > it forbids me to access even the localhost either. > > thanks a lot for your replies and time. > > > > Christian grobmeier wrote: >> >> in this case i doubt it is a logging error. Can you try to create a >> single script with only fopen(&

Re: log4php not working properly

2011-01-04 Thread Christian Grobmeier
; you told me earlier, >> the value is only: /var/www/html/logs/ >> >> and not the same value that was passed in getFile() which was: >> /var/www/html/logs/20110104.log >> >> the filename itself was not carried over.. >> >> you think something went wro

Re: log4php not working properly

2011-01-04 Thread Christian Grobmeier
> i think after creating the file, it does not set it to 755? >> i tried to insert >> >> chmod($filename, 0755); >> >> after fopen(), in AppenderFile, but still cannot create.. >> >> >> >> Christian grobmeier wrote: >>> >>>

Re: log4php not working properly

2011-01-03 Thread Christian Grobmeier
ile the logfile that i supposedly would create is in > /var/www/html/logs/ > > the value of the filename in line 69 is: > /var/www/html/logs/20110104.log > > it has successfully set the filename though... > > did i missed out on something? > > thanks a lot.. > > >

Re: log4php not working properly

2011-01-03 Thread Christian Grobmeier
a file > in the path i specified, it could not create the file successfully. > > have an idea how to do it? :( > > thanks a lot. > > > > > > Christian grobmeier wrote: >> >> Hello, >> >> http://logging.apache.org/log4php/docs/appenders.html#Logg

Re: log4php not working properly

2011-01-03 Thread Christian Grobmeier
Hello, http://logging.apache.org/log4php/docs/appenders.html#LoggerAppenderDailyFile there is some more which needs to be configured: log4php.appender.default.datePattern = Ymd log4php.appender.default.file = target/examples/daily_%s.log In your case it should look like:   Or similar Howe

Re: Cannot get log4php to work properly!

2010-10-20 Thread Christian Grobmeier
THanks for coming back and sorry for not answering so long :-) Busy days :-) On Wed, Oct 20, 2010 at 4:49 PM, Matthew Ishii wrote: > I recently discovered that the hierarchy was wrong. > > In order to create a logger one must reference the logger this way: > > log4php.logger.loggername = [loglev

Re: dynamically config the appender mail

2010-05-19 Thread Christian Grobmeier
Hi did you try to separate mail adresses with ; f. e $this->appenderMail->setTo("angs@gmail.com;anot...@example.com"); Best Christian On Wed, May 19, 2010 at 9:44 AM, PriyaPrakash wrote: > > Hi, > > Thanks for ur reply, now its works fine for me, > > Then i have another doubt in the Logger

Re: Add appender programmatically

2010-04-15 Thread Christian Grobmeier
the property file. >> >> And finally if I don't call the configure function, only stdout log works >> (default appender) but the file appender added inside the program is still >> not working. >> >> Maybe we need to put some more sets to the $appender or somet

Re: Add appender programmatically

2010-04-14 Thread Christian Grobmeier
gappender.log > > log4php.appender.R.MaxFileSize=100KB > # Keep one backup file > log4php.appender.R.MaxBackupIndex=1 > > log4php.appender.R.layout=LoggerLayoutPattern > log4php.appender.R.layout.ConversionPattern=[%p] %t %c - %m%n > > > Maybe, a programmatically appende

Re: Add appender programmatically

2010-04-14 Thread Christian Grobmeier
Hello, whats returned if you do: echo $logger->isInfoEnabled(); My guess is that info level is not enabled for the root logger Also you might need to set a threshhold for your appender: $appender->setThreshold($threshhold); which is in fact a LoggerLevel. If you use ALL, you outputing all Pls

Re: Is it safe to use LoggerAppenderFile in Apache (Prefork with multiple running processes)

2010-03-25 Thread Christian Grobmeier
> According to the code, if  LOCK_EX cannot be acquired immediately, > does it mean some log will be dropped silently? No, the methods waits until it can get the lock. It does mean, that your execution will slow down on that position. Thats why a high load system should not have excessive logging

Re: Is it safe to use LoggerAppenderFile in Apache (Prefork with multiple running processes)

2010-03-24 Thread Christian Grobmeier
Hi, > Hi, I want to verify if it is safe to use LoggerAppenderFile in Apache > (Prefork with multiple running processes). I think it is > What will happen if multiple apache processes are writing at the same time? > Exception, or just simply overwritten? Look at this: http://logging.apache.org/

Attention: SVN / Website has moved

2010-03-23 Thread Christian Grobmeier
All: Log4PHP SVN has moved to: https://svn.apache.org/repos/asf/logging/log4php due to graduation Please have that in mind before writing new patches :-) Also the website has a new location: http://logging.apache.org/log4php Christian

Re: Re: Re: Re: Re: Illogical logging by rootLogger

2010-03-04 Thread Christian Grobmeier
" or something You could create a new Jira Feature issue on that. If you like, you can also add a patch to this issue and I will review and apply it Cheers > > Florian > > > > Von: > Christian Grobmeier > An: > Log4PHP User > Datum: > 04.03.2010 09:29 > Bet

Re: Re: Re: Re: Illogical logging by rootLogger

2010-03-04 Thread Christian Grobmeier
it isn't > If I switch the ldap-appender from "ldap" to "echo", then I get the same > result - nothing. > > Xml in general is absolutely no problem, but due to the documentation php > config was easier to understand/work with it. > > > > Von: > C

Re: Re: Re: Re: Re: Illogical logging by rootLogger

2010-03-03 Thread Christian Grobmeier
or occured and currently you don't have to spend time in > writing testcases ;) > > > > Von: > Christian Grobmeier > An: > Log4PHP User > Datum: > 03.03.2010 15:16 > Betreff: > Re: Re: Re: Re: Illogical logging by rootLogger > > > > wow, I think I

Re: Re: Re: Re: Illogical logging by rootLogger

2010-03-03 Thread Christian Grobmeier
uot;, then I get the same > result - nothing. > > Xml in general is absolutely no problem, but due to the documentation php > config was easier to understand/work with it. > > > > Von: > Christian Grobmeier > An: > Log4PHP User > Datum: > 03.03.2010 14:55 > Be

Re: Re: Re: Illogical logging by rootLogger

2010-03-03 Thread Christian Grobmeier
as been removed > > But I noticed, that the dailyfile.log will be created (without content), > so in any way the config seems to work ;) > > Florian > > > > Von: > Christian Grobmeier > An: > Log4PHP User > Datum: > 03.03.2010 14:42 > Betreff: > Re

Re: Re: Illogical logging by rootLogger

2010-03-03 Thread Christian Grobmeier
> > > > > > > But now there is nothing logged any more, so I think that any tags are not > configured properly... > Could you please check this? > > Florian > > > > Von: > Christian Grobmeier > An: > Log4

Re: LoggerAppenderMailEvent does not work

2010-03-03 Thread Christian Grobmeier
Outch looks like a bug. Could you please open a ticket for this at: https://issues.apache.org/jira/browse/LOG4PHP and add your description below? I will take it from there. Thanks much! On Wed, Mar 3, 2010 at 1:49 PM, Florian Platzer wrote: > I'

Re: Illogical logging by rootLogger

2010-03-03 Thread Christian Grobmeier
Hi, at first glance, I would think the same. I will need to try it out. However - please have in mind that the php configuration is still experimental. Maybe you are running into a bug here. Did you try the old fashioned way with xml or property file? Christian On Wed, Mar 3, 2010 at 1:44 PM, Fl

Re: Set Logging Options at Runtime

2010-01-06 Thread Christian Grobmeier
Hi Andrew, > Some of these settings need to be changed on the fly by end users (log > level), and I'd like to store these properties in the database. first which came into my mind was that you probably need to write a configurator. If you look into the configurators folder, you'll see LoggerConfi

[ANN] Log4PHP 2.0.0 released

2009-12-13 Thread Christian Grobmeier
Dear all, the Log4PHP community is pleased to introduce the Apache Log4PHP 2.0.0 (Incubating) release [1]. It's the first Log4PHP release since 2004 and tons of changes have been done. Finally Log4PHP has become a well tested framework made for PHP 5. Many thanks to all the contributors who made

[ANN] Welcome Christian Hammers

2009-10-03 Thread Christian Grobmeier
Dear all, please welcome Christian Hammers as a new committer to the Log4PHP project. The Log4PHP PMC elected him after providing so much valuable contributions. We are sure that he is a great addition to our community :-) - please join me with warm greetings. So, welcome and cheers! Christian

Re: Where is LoggerManager?

2009-08-20 Thread Christian Grobmeier
> I grabbed the trunk and I can't see the LoggerManager.php file anywhere. Is > it obselete. The quick start and examples all reference it. Yes, its obsolete. Instead the Logger.php class must be used. There is already an issue open for this task: http://issues.apache.org/jira/browse/LOG4PHP-70

New Website online

2009-08-04 Thread Christian Grobmeier
Dear all, as you may have noticed, we recently spent lots of time for updating the website. Of course its not finished as it developes with the software. But a new version of the Log4PHP Site can be found here: http://incubator.apache.org/log4php/ We included project reports like Code coverage or

Re: Log4PHP Logo

2009-08-03 Thread Christian Grobmeier
> I share office building with a graphics agency, and have pitched the idea of > a logo for log4php, and a few have shown interest for the task. Hopefully > ill be back with a few suggestions in a couple of days. Thats great! I have created a Wiki-Page for all submissions: http://wiki.apache.org/l

Re: LoggerPropertyConfigurator::doConfigure() cannot load

2009-07-27 Thread Christian Grobmeier
Hi Anas, did you try something like: define('LOG4PHP_CONFIGURATION', dirname(__FILE__).'/../config/IvLogger.properties'); somewhere? I think the path to configuration should be absolute. Please provide some code of what you have done if that doesn't help. Cheers Christian > Warning: LoggerPro

Website Update + Showcase

2009-07-22 Thread Christian Grobmeier
Hi all, as already mentioned, we are planning to integrate some kind of a "showcase" in our new website. If you are working for a project or a company which is using Log4PHP, let us know! Send us your links and maybe one or two sentences about how you use Log4PHP and we'll add you on our showcase

Log4PHP is blogging

2009-07-22 Thread Christian Grobmeier
Hi all, as you may have noticed, the Log4PHP team has done tons of stuff in the currents repo. Currently we are updating the website and generally try to stay more in contact with our users. One of the outcomes is our brandnew blog: http://blogs.apache.org/log4php/ Let us know on the dev list if

Re: PHP Version requirement

2009-06-23 Thread Christian Grobmeier
Hi there, So my question is : will log4php work with PHP 5.1.6 (I could for instance > modify the PHP version requirement in the package-config.php file before > building the package). > you'll need to try out. The code at the trunk is currently in heavy development and we have not checked the mi

Board Report June 2009: Status of Log4PHP

2009-06-09 Thread Christian Grobmeier
Hi all, Gavin just added the log4php board report to the wiki. People interested in the current status of the project can have a read here: * http://wiki.apache.org/incubator/June2009 Thanks, Christian

Re: New committers

2009-04-26 Thread Christian Grobmeier
> Christian Grobmeier and myself have been added as committers to the log4php > project. Cool you finally made it too ;-) > Hopefully soon we'll get our act together and start looking at those patches > that some of you have attached to our issue tracker [1] (Christian I have &

log4php is beeing used by the PIWI framework

2009-03-06 Thread Christian Grobmeier
Dear all, I just wanted to let you know that the PIWI framework now uses log4php as its logging implementation: * http://code.google.com/p/piwi/ It was really easy to integrate it into PIWI. However, I really would enjoy a PHP5 branch of log4php. Has this been discussed allready? However, I jus

Re: Pipe PHP error output to log4php?

2009-02-28 Thread Christian Grobmeier
Hi, you could try to use the php exception handler. http://de2.php.net/manual/de/function.set-exception-handler.php and use the logger there. Works fine with PHP5. Cheers, Christian On Fri, Feb 27, 2009 at 2:37 PM, Dennis Korbar wrote: > Hello there, > > I was wondering, is there an easy way to