You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by "Adam R. B. Jack" <aj...@trysybase.com> on 2004/05/19 19:08:01 UTC

Re: [logging][PROPOSAL] a solution to incompatibility between log4j versions

> On the log4j we are making a very serious effort to keep everyone
> happy.

And that is greatly appreciated. :)

I really wish you weren't having to go through this, I can hardly imagine
how frustrating it must be to maintain an old interface for two years,
attempting a clean deprecation, only run into such a gotcha. I do feel for
you, and think users appreciate anything you can do to help.

> Tell us specifically what fails and we will do our best to fix
> it. Rolling back everything is not specific enough.

Then can I say, whatever "changed in the public API"? ;-) Seriously though,
I'd mentioned them previous in thread. That said, this thread has morphed,
moved over 4 list, etc, so here again:

Best I can tell from here:

    http://lsd.student.utwente.nl/gump/project_todos.html

These two are the Priority deprecation:

http://lsd.student.utwente.nl/gump/jakarta-commons/commons-logging/index.html
http://lsd.student.utwente.nl/gump/jakarta-velocity/jakarta-velocity/index.html

You already reverted this one, thanks (it was RootCategory, I think):

http://lsd.student.utwente.nl/gump/avalon-excalibur/excalibur-logger/index.html

Again, these are only the ones I can tell from within Apacge/Gump. External
users who've not moved from Priority, are probably the same.

> Moreover, we have provided very clear set of instructions that safely
> address the c-l compilation problems. I think log4j is the wrong tree
> to bark at.
>
> I noticed that
> <http://gump.covalent.net/log/bootstrap-ant.html>bootstrap-ant no longer
> builds. Is it a related problem?

Hmm, good question. Seems possible, but odd that it works here:
    http://lsd.student.utwente.nl/gump/ant/bootstrap-ant/index.html

http://lsd.student.utwente.nl/gump/ant/bootstrap-ant/gump_work/buildscript_ant_bootstrap-ant.html

(although here it assumes no log4j).

The check does look for :

    <available property="log4j.present"
            classname="org.apache.log4j.Category"
            classpathref="classpath"/>

Did that change?

I'll ask a Gumpmeister (who has access to that box) to take a closer look,
and get back to you.

regards,

Adam


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [Ant] bootstrap-ant no longer builds

Posted by Peter Reilly <pe...@corvil.com>.
Opps,
I had tested with java1.5, java1.4.2 and java1.2.
The build.xml should work now.

Peter
Michael Davey wrote:

> Adam R. B. Jack wrote:
>
>> someone wrote:
>>
>>> Moreover, we have provided very clear set of instructions that safely
>>> address the c-l compilation problems. I think log4j is the wrong tree
>>> to bark at.
>>>
>>> I noticed that
>>> <http://gump.covalent.net/log/bootstrap-ant.html>bootstrap-ant no 
>>> longer
>>> builds. Is it a related problem?
>>>   
>>
>>
>> Hmm, good question. Seems possible, but odd that it works here:
>>    http://lsd.student.utwente.nl/gump/ant/bootstrap-ant/index.html
>>
>> http://lsd.student.utwente.nl/gump/ant/bootstrap-ant/gump_work/buildscript_ant_bootstrap-ant.html 
>>
>>  
>>
> This fails on my private Gump too.  Looks like it is caused by a 
> recent commit of Ant's build.xml:
>
> http://cvs.apache.org/viewcvs.cgi/ant/build.xml?r1=1.418&r2=1.419&diff_format=h 
>
>
>
> The "-source" option does not support the "1.2" argument in Java 
> 1.4.0, but it is supported in Java 1.4.2 and 1.5.0-beta.  "1.3" is 
> supported in Java 1.4.0 - I don't know when it was added.
>


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [Ant] bootstrap-ant no longer builds

Posted by Peter Reilly <pe...@corvil.com>.
Opps,
I had tested with java1.5, java1.4.2 and java1.2.
The build.xml should work now.

Peter
Michael Davey wrote:

> Adam R. B. Jack wrote:
>
>> someone wrote:
>>
>>> Moreover, we have provided very clear set of instructions that safely
>>> address the c-l compilation problems. I think log4j is the wrong tree
>>> to bark at.
>>>
>>> I noticed that
>>> <http://gump.covalent.net/log/bootstrap-ant.html>bootstrap-ant no 
>>> longer
>>> builds. Is it a related problem?
>>>   
>>
>>
>> Hmm, good question. Seems possible, but odd that it works here:
>>    http://lsd.student.utwente.nl/gump/ant/bootstrap-ant/index.html
>>
>> http://lsd.student.utwente.nl/gump/ant/bootstrap-ant/gump_work/buildscript_ant_bootstrap-ant.html 
>>
>>  
>>
> This fails on my private Gump too.  Looks like it is caused by a 
> recent commit of Ant's build.xml:
>
> http://cvs.apache.org/viewcvs.cgi/ant/build.xml?r1=1.418&r2=1.419&diff_format=h 
>
>
>
> The "-source" option does not support the "1.2" argument in Java 
> 1.4.0, but it is supported in Java 1.4.2 and 1.5.0-beta.  "1.3" is 
> supported in Java 1.4.0 - I don't know when it was added.
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


[Ant] bootstrap-ant no longer builds (was: Re: [logging][PROPOSAL] a solution to incompatibility between log4j versions)

Posted by Michael Davey <Mi...@coderage.org>.
Adam R. B. Jack wrote:

> someone wrote:
>
>>Moreover, we have provided very clear set of instructions that safely
>>address the c-l compilation problems. I think log4j is the wrong tree
>>to bark at.
>>
>>I noticed that
>><http://gump.covalent.net/log/bootstrap-ant.html>bootstrap-ant no longer
>>builds. Is it a related problem?
>>    
>>
>
>Hmm, good question. Seems possible, but odd that it works here:
>    http://lsd.student.utwente.nl/gump/ant/bootstrap-ant/index.html
>
>http://lsd.student.utwente.nl/gump/ant/bootstrap-ant/gump_work/buildscript_ant_bootstrap-ant.html
>  
>
This fails on my private Gump too.  Looks like it is caused by a recent 
commit of Ant's build.xml:

http://cvs.apache.org/viewcvs.cgi/ant/build.xml?r1=1.418&r2=1.419&diff_format=h


The "-source" option does not support the "1.2" argument in Java 1.4.0, 
but it is supported in Java 1.4.2 and 1.5.0-beta.  "1.3" is supported in 
Java 1.4.0 - I don't know when it was added.

-- 
Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [logging][PROPOSAL] a solution to incompatibility between log4j versions

Posted by Ceki Gülcü <ce...@qos.ch>.
At 07:08 PM 5/19/2004, Adam R. B. Jack wrote:
> > On the log4j we are making a very serious effort to keep everyone
> > happy.
>
>And that is greatly appreciated. :)
>
>I really wish you weren't having to go through this, I can hardly imagine
>how frustrating it must be to maintain an old interface for two years,
>attempting a clean deprecation, only run into such a gotcha. I do feel for
>you, and think users appreciate anything you can do to help.
>
> > Tell us specifically what fails and we will do our best to fix
> > it. Rolling back everything is not specific enough.
>
>Then can I say, whatever "changed in the public API"? ;-) Seriously though,
>I'd mentioned them previous in thread. That said, this thread has morphed,
>moved over 4 list, etc, so here again:
>
>Best I can tell from here:
>
>     http://lsd.student.utwente.nl/gump/project_todos.html
>
>These two are the Priority deprecation:
>
>http://lsd.student.utwente.nl/gump/jakarta-commons/commons-logging/index.html

On the c-l front the problem is clearly identified. A clear and safe
solution has been provided.

>http://lsd.student.utwente.nl/gump/jakarta-velocity/jakarta-velocity/index.html

 From what I could gather from [1] and [2]  velocity needs to change



logger.setPriority(Priority.DEBUG);

to

logger.setLevel(Level.DEBUG);

This will work in both 1.2.x and 1.3, both at compile and at runtime.

[1] http://marc.theaimsgroup.com/?l=velocity-dev&m=108442380518687&w=2


[2] [javac] 
/data3/gump/jakarta-velocity/bin/src/org/apache/velocity/runtime/log/Simple \
Log4JLogSystem.java:119: cannot resolve symbol  [javac] symbol  : method 
setPriority \
(org.apache.log4j.Priority)  [javac] location: class org.apache.log4j.Category
     [javac]         logger.setPriority(Priority.DEBUG);


>You already reverted this one, thanks (it was RootCategory, I think):


>http://lsd.student.utwente.nl/gump/avalon-excalibur/excalibur-logger/index.html
>
>Again, these are only the ones I can tell from within Apacge/Gump. External
>users who've not moved from Priority, are probably the same.
>
> > Moreover, we have provided very clear set of instructions that safely
> > address the c-l compilation problems. I think log4j is the wrong tree
> > to bark at.
> >
> > I noticed that
> > <http://gump.covalent.net/log/bootstrap-ant.html>bootstrap-ant no longer
> > builds. Is it a related problem?
>
>Hmm, good question. Seems possible, but odd that it works here:
>     http://lsd.student.utwente.nl/gump/ant/bootstrap-ant/index.html
>
>http://lsd.student.utwente.nl/gump/ant/bootstrap-ant/gump_work/buildscript_ant_bootstrap-ant.html
>
>(although here it assumes no log4j).
>
>The check does look for :
>
>     <available property="log4j.present"
>             classname="org.apache.log4j.Category"
>             classpathref="classpath"/>
>
>Did that change?
>
>I'll ask a Gumpmeister (who has access to that box) to take a closer look,
>and get back to you.
>
>regards,
>
>Adam
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
>For additional commands, e-mail: general-help@gump.apache.org

-- 
Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp  



---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


[Ant] bootstrap-ant no longer builds (was: Re: [logging][PROPOSAL] a solution to incompatibility between log4j versions)

Posted by Michael Davey <Mi...@coderage.org>.
Adam R. B. Jack wrote:

> someone wrote:
>
>>Moreover, we have provided very clear set of instructions that safely
>>address the c-l compilation problems. I think log4j is the wrong tree
>>to bark at.
>>
>>I noticed that
>><http://gump.covalent.net/log/bootstrap-ant.html>bootstrap-ant no longer
>>builds. Is it a related problem?
>>    
>>
>
>Hmm, good question. Seems possible, but odd that it works here:
>    http://lsd.student.utwente.nl/gump/ant/bootstrap-ant/index.html
>
>http://lsd.student.utwente.nl/gump/ant/bootstrap-ant/gump_work/buildscript_ant_bootstrap-ant.html
>  
>
This fails on my private Gump too.  Looks like it is caused by a recent 
commit of Ant's build.xml:

http://cvs.apache.org/viewcvs.cgi/ant/build.xml?r1=1.418&r2=1.419&diff_format=h


The "-source" option does not support the "1.2" argument in Java 1.4.0, 
but it is supported in Java 1.4.2 and 1.5.0-beta.  "1.3" is supported in 
Java 1.4.0 - I don't know when it was added.

-- 
Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: [logging][PROPOSAL] a solution to incompatibility between log4j versions

Posted by Ceki Gülcü <ce...@qos.ch>.
At 07:08 PM 5/19/2004, "Adam R. B. Jack" wrote:
>Hmm, good question. Seems possible, but odd that it works here:
>     http://lsd.student.utwente.nl/gump/ant/bootstrap-ant/index.html
>
>http://lsd.student.utwente.nl/gump/ant/bootstrap-ant/gump_work/buildscript_ant_bootstrap-ant.html
>
>(although here it assumes no log4j).
>
>The check does look for :
>
>     <available property="log4j.present"
>             classname="org.apache.log4j.Category"
>             classpathref="classpath"/>
>
>Did that change?

As far as I am aware, no.

>regards,
>
>Adam

-- 
Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp  



---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [logging][PROPOSAL] a solution to incompatibility between log4j versions

Posted by Ceki Gülcü <ce...@qos.ch>.
At 07:08 PM 5/19/2004, Adam R. B. Jack wrote:
> > On the log4j we are making a very serious effort to keep everyone
> > happy.
>
>And that is greatly appreciated. :)
>
>I really wish you weren't having to go through this, I can hardly imagine
>how frustrating it must be to maintain an old interface for two years,
>attempting a clean deprecation, only run into such a gotcha. I do feel for
>you, and think users appreciate anything you can do to help.
>
> > Tell us specifically what fails and we will do our best to fix
> > it. Rolling back everything is not specific enough.
>
>Then can I say, whatever "changed in the public API"? ;-) Seriously though,
>I'd mentioned them previous in thread. That said, this thread has morphed,
>moved over 4 list, etc, so here again:
>
>Best I can tell from here:
>
>     http://lsd.student.utwente.nl/gump/project_todos.html
>
>These two are the Priority deprecation:
>
>http://lsd.student.utwente.nl/gump/jakarta-commons/commons-logging/index.html

On the c-l front the problem is clearly identified. A clear and safe
solution has been provided.

>http://lsd.student.utwente.nl/gump/jakarta-velocity/jakarta-velocity/index.html

 From what I could gather from [1] and [2]  velocity needs to change



logger.setPriority(Priority.DEBUG);

to

logger.setLevel(Level.DEBUG);

This will work in both 1.2.x and 1.3, both at compile and at runtime.

[1] http://marc.theaimsgroup.com/?l=velocity-dev&m=108442380518687&w=2


[2] [javac] 
/data3/gump/jakarta-velocity/bin/src/org/apache/velocity/runtime/log/Simple \
Log4JLogSystem.java:119: cannot resolve symbol  [javac] symbol  : method 
setPriority \
(org.apache.log4j.Priority)  [javac] location: class org.apache.log4j.Category
     [javac]         logger.setPriority(Priority.DEBUG);


>You already reverted this one, thanks (it was RootCategory, I think):


>http://lsd.student.utwente.nl/gump/avalon-excalibur/excalibur-logger/index.html
>
>Again, these are only the ones I can tell from within Apacge/Gump. External
>users who've not moved from Priority, are probably the same.
>
> > Moreover, we have provided very clear set of instructions that safely
> > address the c-l compilation problems. I think log4j is the wrong tree
> > to bark at.
> >
> > I noticed that
> > <http://gump.covalent.net/log/bootstrap-ant.html>bootstrap-ant no longer
> > builds. Is it a related problem?
>
>Hmm, good question. Seems possible, but odd that it works here:
>     http://lsd.student.utwente.nl/gump/ant/bootstrap-ant/index.html
>
>http://lsd.student.utwente.nl/gump/ant/bootstrap-ant/gump_work/buildscript_ant_bootstrap-ant.html
>
>(although here it assumes no log4j).
>
>The check does look for :
>
>     <available property="log4j.present"
>             classname="org.apache.log4j.Category"
>             classpathref="classpath"/>
>
>Did that change?
>
>I'll ask a Gumpmeister (who has access to that box) to take a closer look,
>and get back to you.
>
>regards,
>
>Adam
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
>For additional commands, e-mail: general-help@gump.apache.org

-- 
Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp  



---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org