Re: Classpath IPP Logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/26/2010 12:33 PM, Andrew Haley wrote:
> On 04/26/2010 12:15 PM, Robert Lougher wrote:
>> On 26 April 2010 11:23, Andrew Haley <aph@xxxxxxxxxx> wrote:
>>> On 04/23/2010 06:26 PM, Andrew Haley wrote:
>>>> Does anyone here have any idea how to turn on IPP logging in GNU Classpath?
>>>> It's used like:
>>>>
>>>>           logger.log(Component.IPP, "Attribute: Name: <" + jobUri.getCategory()
>>>>             .getName() + "> Value: <" + jobUri.toString() + ">");
>>>>
>>>> It would be very useful to enable this, but I just can't figure it out.
>>>
>>> Is there really no-one understands how to use Classpath's system logger,
>>> or is it that no-one reads this list any more?
>>>
>>
>> I still read this list, but unfortunately I know nothing about logging
>> in GNU Classpath, or even what IPP is!  A quick google search did turn
>> this up, but I expect you aready know this:
>>
>> Logger for tracing - enable by passing
>> -Dgnu.classpath.debug.components=ipp to the vm.
>>
>> http://www.docjar.org/docs/api/gnu/javax/print/ipp/IppPrintService.html
> 
> Hmm, that gives me a blank page.  Never mind, that's the clue I needed.
> 
> Thanks very much,

Right, got it working.

As above, plus

 java.util.logging.ConsoleHandler.level = FINEST

There seems to be some bug (?) where simply setting

 .level = FINEST

doesn't work, and this was stopping all output.

Ta,
Andrew.


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux