Hi Florian,

I forwarded your email to OPS4J as there are better people to answer
your questions.
As to my knowledge the preferred way (I think the only one actually)
is to use Configuration Admin.

I also do not understand what do you mean by "command line option". Do
you mean system variable that you can set up using command line -D ?

Alin

On Mon, Aug 4, 2008 at 6:00 PM, Pepping, Florian
<[EMAIL PROTECTED]> wrote:
> Hi Alin,
>
> for a better configurability of the Pax Logging Service, I'd like to
> introduce a new command-line option which defines the default
> configuration file for log4j to use.
> So far so good. Unfortunately I'm not able to compile the project,
> because methods are missing or wrong method calls are made. Is this a
> bug or an inadvertence?
> Here are two examples:
>
> Class PaxLoggerImpl:
>    public int getLogLevel()
>    {
>        return m_delegate.getLevel().toInt();
>    }
>
>    public String getName()
>    {
>        return m_delegate.getName();
>    }
>
> Class PaxLoggingConfigurator
>    PaxLoggingConfigurator configurator = new PaxLoggingConfigurator(
> m_appenderTracker );
>    configurator.doConfigure( extracted,
> LogManager.getLoggerRepository() );
>
> --> the method doConfigure() is missing
>
> Perhaps you can give me a hint on how to solve this problems.
>
> And another short question: What is the currently preferred way to
> configure Pax-Logging? There are several ways described in the wiki but
> I got the feeling, that none of these ways are really working as
> expected. Perhaps I'm doing something wrong.
>
> Thanks a lot
>
> Florian
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - - - - - - - - - -
> Florian Pepping                         Wincor Nixdorf International
> GmbH
> Banking Division                        Product Development (PSD5)
> Phone: +49 5251 693 6471                Heinz-Nixdorf-Ring 1
> Fax: +49 5251 693 6309                  D-33106 Paderborn
> [EMAIL PROTECTED]      http://www.wincor-nixdorf.com
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - - - - - - - - - -
>
> -----Original Message-----
> From: Pepping, Florian
> Sent: Thursday, June 26, 2008 6:03 PM
> To: 'Alin Dreghiciu'
> Subject: RE: Commits to pax web
>
> Hi Alin,
>
> just as you wrote your mail, I was editing the webpage to describe my
> enhancements.
> And afterwards I also created an corresponding Jira-Issue. This I
> wouldn't have done
> without your mail.
>
> I don't know, if I will enhance pax in the future, but these parameters
> are needed in my project so I added them to pax.
>
> Thanks for your mail
>
> Bye Florian
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - - - - - - - - - -
> Florian Pepping                         Wincor Nixdorf International
> GmbH
> Banking Division                        Product Development (PSD5)
> Phone: +49 5251 693 6471                Heinz-Nixdorf-Ring 1
> Fax: +49 5251 693 6309                  D-33106 Paderborn
> [EMAIL PROTECTED]      http://www.wincor-nixdorf.com
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - - - - - - - - - -
>
> -----Original Message-----
> From: Alin Dreghiciu [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 26, 2008 4:46 PM
> To: Pepping, Florian
> Subject: Commits to pax web
>
> Hi,
>
> I saw you did some commits to Pax Web. Very good. Keep on doing that.
> The only thing I would like to ask you is that you create
> corresponding jira issues for this changes so we can keep track of
> what is changed on the next release.
> Also, please document this new options in Pax Web wiki page.
>
> Thanx,
> --
> Alin Dreghiciu
> http://www.ops4j.org - New Energy for OSS Communities - Open
> Participation Software.
> http://www.qi4j.org - New Energy for Java - Domain Driven Development.
> http://malaysia.jayway.net - New Energy for Projects - Great People
> working on Great Projects at Great Places
>
> --
> WINCOR NIXDORF International GmbH
> Sitz der Gesellschaft: Paderborn
> Registergericht Paderborn HRB 3507
> Geschäftsführer: Eckard Heidloff (Vorsitzender), Stefan Auerbach, Dr. Jürgen 
> Wunram
> Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller
> Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. 
> DE44477193
>
> Diese E-Mail enthält vertrauliche Informationen. Wenn Sie nicht der richtige 
> Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie 
> bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte 
> Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
>
> This e-mail may contain confidential information. If you are not the intended 
> recipient (or have received this e-mail in error) please notify the sender 
> immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
> distribution of the material in this e-mail is strictly forbidden.
>
>



-- 
Alin Dreghiciu
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.
http://malaysia.jayway.net - New Energy for Projects - Great People
working on Great Projects at Great Places

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to