Error in debug messages

View: New views
4 Messages — Rating Filter:   Alert me  

Error in debug messages

by Russel Winder-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When running with -d option, I see lots of things like:

09:28:36.815 [main] DEBUG o.g.a.i.project.PluginRegistry - Checking file= /home/users/russel/lib/JavaPackages/gradle-trunk/plugin.properties

As far as I am aware the package in not called o.g.a.i so the message is
lying to me.  I think the messages must print the correct package names
-- this is not only crucial for truthfulness, it is also crucial so as
to be able to use searching on the output.

If there are no objections to the change, can someone point me at the
place to make the change and I will do it.

Thanks.

--
Russel.
============================================================
Dr Russel Winder                 Partner

Concertant LLP          t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,     f: +44 8700 516 084    voip:  sip:russel.winder@...
London SW11 1EN, UK.    m: +44 7770 465 077    xmpp: russel@...


signature.asc (204 bytes) Download Attachment

Re: Error in debug messages

by hdockter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On May 17, 2009, at 10:33 AM, Russel Winder wrote:

> When running with -d option, I see lots of things like:
>
> 09:28:36.815 [main] DEBUG o.g.a.i.project.PluginRegistry - Checking  
> file= /home/users/russel/lib/JavaPackages/gradle-trunk/
> plugin.properties
>
> As far as I am aware the package in not called o.g.a.i so the  
> message is
> lying to me.  I think the messages must print the correct package  
> names
> -- this is not only crucial for truthfulness, it is also crucial so as
> to be able to use searching on the output.
>
> If there are no objections to the change, can someone point me at the
> place to make the change and I will do it.

This is part of the logback configuration. And, looking at it, I think  
also that this is to cryptic.

- Hans

--
Hans Dockter
Gradle Project Manager
http://www.gradle.org





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Error in debug messages

by Russel Winder-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hans,

On Tue, 2009-05-19 at 20:45 +0200, Hans Dockter wrote:

> On May 17, 2009, at 10:33 AM, Russel Winder wrote:
>
> > When running with -d option, I see lots of things like:
> >
> > 09:28:36.815 [main] DEBUG o.g.a.i.project.PluginRegistry - Checking  
> > file= /home/users/russel/lib/JavaPackages/gradle-trunk/
> > plugin.properties
> >
> > As far as I am aware the package in not called o.g.a.i so the  
> > message is
> > lying to me.  I think the messages must print the correct package  
> > names
> > -- this is not only crucial for truthfulness, it is also crucial so as
> > to be able to use searching on the output.
> >
> > If there are no objections to the change, can someone point me at the
> > place to make the change and I will do it.
>
> This is part of the logback configuration. And, looking at it, I think  
> also that this is to cryptic.
Is this something you would be able to change in 5 mins?

(It would save me the effort of finding all the right places to make
changes :-)

--
Russel.
============================================================
Dr Russel Winder                 Partner

Concertant LLP          t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,     f: +44 8700 516 084    voip:  sip:russel.winder@...
London SW11 1EN, UK.    m: +44 7770 465 077    xmpp: russel@...


signature.asc (204 bytes) Download Attachment

Re: Error in debug messages

by Tom Eyckmans :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Russel,

2009/5/24 Russel Winder <russel.winder@...>
Hans,

On Tue, 2009-05-19 at 20:45 +0200, Hans Dockter wrote:
> On May 17, 2009, at 10:33 AM, Russel Winder wrote:
>
> > When running with -d option, I see lots of things like:
> >
> > 09:28:36.815 [main] DEBUG o.g.a.i.project.PluginRegistry - Checking
> > file= /home/users/russel/lib/JavaPackages/gradle-trunk/
> > plugin.properties
 This is default logback behaviour, when the package name gets to long, it collapses the packages in front so the class is still completely available in the log line.
So o.g.a.i is in fact org.gradle.api.internal

> >
> > As far as I am aware the package in not called o.g.a.i so the
> > message is
> > lying to me.  I think the messages must print the correct package
> > names
> > -- this is not only crucial for truthfulness, it is also crucial so as
> > to be able to use searching on the output.
> >
> > If there are no objections to the change, can someone point me at the
> > place to make the change and I will do it.
>
> This is part of the logback configuration. And, looking at it, I think
> also that this is to cryptic.

Is this something you would be able to change in 5 mins?


(It would save me the effort of finding all the right places to make
changes :-)

I think if you change the layout in the setLayouts method of org.gradle.initialization.DefaultLoggingConfigurer that would do the trick.


--
Russel.
============================================================
Dr Russel Winder                 Partner

Concertant LLP          t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,     f: +44 8700 516 084    voip:  sip%3Arussel.winder@...
London SW11 1EN, UK.    m: +44 7770 465 077    xmpp: russel@...