Re: [OpenMap Users] Pipe Debug logging to log4j

From: Don Dietrick <dfdietrick_at_gmail.com>
Date: Tue, 29 Jan 2013 14:04:07 -0500

Hi Ian,

I'm actually in the process of refactoring Debug out of classes, and replacing it with the logging mechanism built into Java.

That said, the output stream in the Debug class can be set programmatically, if you want to adjust where the output is sent.

Cheers,

Don

On Jan 29, 2013, at 4:40 AM, Renton Ian wrote:

> Hi,
>
> One of our OpenMap-based applications uses Log4J for its own logging needs, but at the moment OpenMap's own internal logging uses the Debug class.
>
> Is it possible to redirect Debug's logging to another logger such as log4j? If so, what is the best way to do this?
>
> Thanks,
>
> Ian
>
> --
> Ian Renton
> UX / Software Engineer
> ATLAS ELEKTRONIK UK
> Atlas House, Dorset Green Tech. Park, DT2 8ZB, U.K.
> Tel: +44 (0) 1305 212341
> The information contained within this e-mail and any files attached to this e-mail are private and in addition may include commercially sensitive information. The contents of this e-mail are for the intended recipient only and therefore if you wish to disclose the information contained within this e-mail or attached files, please contact the sender prior to any such disclosure.
>
> If you are not the intended recipient, any disclosure, copying or distribution is prohibited. Please also contact the sender and inform them of the error and delete the e-mail, including any attached files from your system.
>
> Atlas Elektronik UK Limited Registered Office Meadows Road, Queensway Meadows, Newport, South Wales NP19 4SS, UK. Company No. 05582639
>
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
> with the following text in the BODY of the message "unsubscribe openmap-users"]

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Jan 29 2013 - 14:05:50 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:10 EDT