Chainsaw: 2 new Apache-licensed tools

2005-10-04 Thread Scott Deboy
For those who might be interested, I got ahold of the JToaster author and told 
him I was interested in adding support for JToaster in Chainsaw.

The license was incompatible, but he was kind enough to change it to the Apache 
2 license.

I had a similar conversation with the author of IRCLib (an IRC library used by 
IRCAppender and IRCReceiver - see the ChainsawHelp page of the log4j wiki), and 
he also kindly switched to the Apache 2 license.

JToaster is available here: http://jtoaster.sourceforge.net/

IRCLib is available here: http://moepii.sourceforge.net/

I highly recommend both!

Scott

-Original Message-
From: Scott Deboy [mailto:[EMAIL PROTECTED]
Sent: Tue 10/4/2005 2:36 PM
To: Log4J Users List
Subject: RE: Log4J Eclipse
 
I've written a relatively simple eclipse plugin but I have so much on my plate 
I couldn't take it on.

I did talk to the Ganymede author at one time in the (recent) past and he 
mentioned an interest in collaborating on a Chainsaw-style eclipse plugin.  Of 
course, the license would have to change if he reused Ganymede code but I think 
he was willing to do that.

Scott

-Original Message-
From: Paul Smith [mailto:[EMAIL PROTECTED]
Sent: Tue 10/4/2005 2:00 PM
To: Log4J Users List
Subject: Re: Log4J Eclipse
 
This one's been on the list for a while, but neither Scott or I have  
really dug into Eclipse plugins at this stage.  I think it would be  
very cool and I know I would use it a lot, but just cannot get decent  
time set aside to even start looking into building plugins.

Paul

On 05/10/2005, at 2:15 AM, Mark Womack wrote:

> It would be cool if we could plug Chainsaw into Eclipse. Paul,  
> Scott, how
> hard do you think that would be?
>
> -Mark
>
> On 10/4/05, Alan Gutierrez <[EMAIL PROTECTED]> wrote:
>
>>
>> * Robert Hedin <[EMAIL PROTECTED]> [2005-10-04 11:03]:
>>
>>> Checkout the Ganymede Plugin for Eclipse:
>>> http://sourceforge.net/projects/ganymede/
>>>
>>> Basically, you setup your appenders to use a SocketAppender and this
>>> listens for logging messages and displays them, color coded, in a  
>>> table.
>>> Also allows you to filter the messages, etc.
>>>
>>
>> Perfect.
>>
>> --
>> Alan Gutierrez - [EMAIL PROTECTED] - http://engrm.com/blogometer/
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Log4J Eclipse

2005-10-04 Thread Scott Deboy
I've written a relatively simple eclipse plugin but I have so much on my plate 
I couldn't take it on.

I did talk to the Ganymede author at one time in the (recent) past and he 
mentioned an interest in collaborating on a Chainsaw-style eclipse plugin.  Of 
course, the license would have to change if he reused Ganymede code but I think 
he was willing to do that.

Scott

-Original Message-
From: Paul Smith [mailto:[EMAIL PROTECTED]
Sent: Tue 10/4/2005 2:00 PM
To: Log4J Users List
Subject: Re: Log4J Eclipse
 
This one's been on the list for a while, but neither Scott or I have  
really dug into Eclipse plugins at this stage.  I think it would be  
very cool and I know I would use it a lot, but just cannot get decent  
time set aside to even start looking into building plugins.

Paul

On 05/10/2005, at 2:15 AM, Mark Womack wrote:

> It would be cool if we could plug Chainsaw into Eclipse. Paul,  
> Scott, how
> hard do you think that would be?
>
> -Mark
>
> On 10/4/05, Alan Gutierrez <[EMAIL PROTECTED]> wrote:
>
>>
>> * Robert Hedin <[EMAIL PROTECTED]> [2005-10-04 11:03]:
>>
>>> Checkout the Ganymede Plugin for Eclipse:
>>> http://sourceforge.net/projects/ganymede/
>>>
>>> Basically, you setup your appenders to use a SocketAppender and this
>>> listens for logging messages and displays them, color coded, in a  
>>> table.
>>> Also allows you to filter the messages, etc.
>>>
>>
>> Perfect.
>>
>> --
>> Alan Gutierrez - [EMAIL PROTECTED] - http://engrm.com/blogometer/
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Catching Log4j Exceptions

2005-10-04 Thread Scott Deboy
It looks like this appender will throw an exception (IllegalStateException) if 
you don't set the 'remoteHost' property.  Of course, you'll probably get NPEs 
in other places if required fields aren't specified on other appenders.

-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Tue 10/4/2005 2:31 PM
To: Log4J Users List
Subject: Re: Catching Log4j Exceptions
 

Oh, ok, the exception is printing to the console, but is not blowing up your
app.  Log4j is doing what it should.  It does not throw exceptions.  It
squashes them, but lets you know about it by printing the error.  The fix is to
either correct the Log4j configuration or, if the UDP address is proper, fix the
network configuration so that it can connect.  There is no exception to catch
because Log4j makes a promise not to throw them.  Imagine how ugly logging
would be if the logging utility itself threw exceptions!

Jake

Quoting [EMAIL PROTECTED]:

>
> I'm seeing this error in my junit testing.  I'm doing
> log.info(message).  Before this call I've attached a UDPAppender (with
> a "badhost") and removed all other appenders.
>
> /EA
>
> 3050 [main] ERROR org.apache.log4j.net.UDPAppender - Could not find
> address of [badhost].
> java.net.UnknownHostException: badhost: badhost
>   at java.net.InetAddress.getAllByName0(InetAddress.java:1011)
>   at java.net.InetAddress.getAllByName0(InetAddress.java:981)
>   at java.net.InetAddress.getAllByName(InetAddress.java:975)
>   at java.net.InetAddress.getByName(InetAddress.java:889)
>   at
> org.apache.log4j.net.UDPAppender.getAddressByName(UDPAppender.java:227)
>   at
> org.apache.log4j.net.UDPAppender.activateOptions(UDPAppender.java:122)
>   at
> com.singingfish.knowledgebase.KBLogger.attachUDPAppender(KBLogger.java:
> 165)
>   at com.singingfish.knowledgebase.KBLogger.(KBLogger.java:96)
>   at
> com.singingfish.knowledgebase.KBLogger$KBLoggerFunctionalTest.testMessag
> eNoServer(KBLogger.java:430)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:324)
>   at junit.framework.TestCase.runTest(TestCase.java:154)
>   at junit.framework.TestCase.runBare(TestCase.java:127)
>   at junit.framework.TestResult$1.protect(TestResult.java:106)
>   at junit.framework.TestResult.runProtected(TestResult.java:124)
>   at junit.framework.TestResult.run(TestResult.java:109)
>   at junit.framework.TestCase.run(TestCase.java:118)
>   at junit.framework.TestSuite.runTest(TestSuite.java:208)
>   at junit.framework.TestSuite.run(TestSuite.java:203)
>   at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe
> stRunner.java:436)
>   at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRun
> ner.java:311)
>   at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRu
> nner.java:192)
>
>
> On Oct 4, 2005, at 1:50 PM, Jacob Kjome wrote:
>
> > Quoting [EMAIL PROTECTED]:
> >
> >> I have a question which has likely been answered (sorry, couldn't find
> >> it):  I'm using a UDPAppender so I want to be able to catch exceptions
> >> like UnknownHostException or BindException, but if I do...
> >>
> >> log.info("sending UDP message");
> >>
> >> and it fails, the Exception is sent to the console, but I'm not able
> >> to
> >> catch it in my code.  What is the intended way that I should handle
> >> these types of exceptions?
> >>
> >
> > Log4j should never ever throw exceptions from its public api.  What is
> > the
> > exception?  Please provide the stacktrace.
> >
> > Jake
> >
> >> Thanks for any help!
> >> /ErikAnthony
> >>
> >> p.s.
> >> If there is a wiki or FAQ that I should normally consult (other than
> >> the archive of this user list) that would be really helpful too.
> >> Thanks again!
> >> /EA
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Catching Log4j Exceptions

2005-10-04 Thread Jacob Kjome

Oh, ok, the exception is printing to the console, but is not blowing up your
app.  Log4j is doing what it should.  It does not throw exceptions.  It
squashes them, but lets you know about it by printing the error.  The fix is to
either correct the Log4j configuration or, if the UDP address is proper, fix the
network configuration so that it can connect.  There is no exception to catch
because Log4j makes a promise not to throw them.  Imagine how ugly logging
would be if the logging utility itself threw exceptions!

Jake

Quoting [EMAIL PROTECTED]:

>
> I'm seeing this error in my junit testing.  I'm doing
> log.info(message).  Before this call I've attached a UDPAppender (with
> a "badhost") and removed all other appenders.
>
> /EA
>
> 3050 [main] ERROR org.apache.log4j.net.UDPAppender - Could not find
> address of [badhost].
> java.net.UnknownHostException: badhost: badhost
>   at java.net.InetAddress.getAllByName0(InetAddress.java:1011)
>   at java.net.InetAddress.getAllByName0(InetAddress.java:981)
>   at java.net.InetAddress.getAllByName(InetAddress.java:975)
>   at java.net.InetAddress.getByName(InetAddress.java:889)
>   at
> org.apache.log4j.net.UDPAppender.getAddressByName(UDPAppender.java:227)
>   at
> org.apache.log4j.net.UDPAppender.activateOptions(UDPAppender.java:122)
>   at
> com.singingfish.knowledgebase.KBLogger.attachUDPAppender(KBLogger.java:
> 165)
>   at com.singingfish.knowledgebase.KBLogger.(KBLogger.java:96)
>   at
> com.singingfish.knowledgebase.KBLogger$KBLoggerFunctionalTest.testMessag
> eNoServer(KBLogger.java:430)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:324)
>   at junit.framework.TestCase.runTest(TestCase.java:154)
>   at junit.framework.TestCase.runBare(TestCase.java:127)
>   at junit.framework.TestResult$1.protect(TestResult.java:106)
>   at junit.framework.TestResult.runProtected(TestResult.java:124)
>   at junit.framework.TestResult.run(TestResult.java:109)
>   at junit.framework.TestCase.run(TestCase.java:118)
>   at junit.framework.TestSuite.runTest(TestSuite.java:208)
>   at junit.framework.TestSuite.run(TestSuite.java:203)
>   at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe
> stRunner.java:436)
>   at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRun
> ner.java:311)
>   at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRu
> nner.java:192)
>
>
> On Oct 4, 2005, at 1:50 PM, Jacob Kjome wrote:
>
> > Quoting [EMAIL PROTECTED]:
> >
> >> I have a question which has likely been answered (sorry, couldn't find
> >> it):  I'm using a UDPAppender so I want to be able to catch exceptions
> >> like UnknownHostException or BindException, but if I do...
> >>
> >> log.info("sending UDP message");
> >>
> >> and it fails, the Exception is sent to the console, but I'm not able
> >> to
> >> catch it in my code.  What is the intended way that I should handle
> >> these types of exceptions?
> >>
> >
> > Log4j should never ever throw exceptions from its public api.  What is
> > the
> > exception?  Please provide the stacktrace.
> >
> > Jake
> >
> >> Thanks for any help!
> >> /ErikAnthony
> >>
> >> p.s.
> >> If there is a wiki or FAQ that I should normally consult (other than
> >> the archive of this user list) that would be really helpful too.
> >> Thanks again!
> >> /EA
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Log4J Eclipse

2005-10-04 Thread Paul Smith
This one's been on the list for a while, but neither Scott or I have  
really dug into Eclipse plugins at this stage.  I think it would be  
very cool and I know I would use it a lot, but just cannot get decent  
time set aside to even start looking into building plugins.


Paul

On 05/10/2005, at 2:15 AM, Mark Womack wrote:

It would be cool if we could plug Chainsaw into Eclipse. Paul,  
Scott, how

hard do you think that would be?

-Mark

On 10/4/05, Alan Gutierrez <[EMAIL PROTECTED]> wrote:



* Robert Hedin <[EMAIL PROTECTED]> [2005-10-04 11:03]:


Checkout the Ganymede Plugin for Eclipse:
http://sourceforge.net/projects/ganymede/

Basically, you setup your appenders to use a SocketAppender and this
listens for logging messages and displays them, color coded, in a  
table.

Also allows you to filter the messages, etc.



Perfect.

--
Alan Gutierrez - [EMAIL PROTECTED] - http://engrm.com/blogometer/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Catching Log4j Exceptions

2005-10-04 Thread illumine


I'm seeing this error in my junit testing.  I'm doing  
log.info(message).  Before this call I've attached a UDPAppender (with  
a "badhost") and removed all other appenders.


/EA

3050 [main] ERROR org.apache.log4j.net.UDPAppender - Could not find  
address of [badhost].

java.net.UnknownHostException: badhost: badhost
at java.net.InetAddress.getAllByName0(InetAddress.java:1011)
at java.net.InetAddress.getAllByName0(InetAddress.java:981)
at java.net.InetAddress.getAllByName(InetAddress.java:975)
at java.net.InetAddress.getByName(InetAddress.java:889)
	at  
org.apache.log4j.net.UDPAppender.getAddressByName(UDPAppender.java:227)
	at  
org.apache.log4j.net.UDPAppender.activateOptions(UDPAppender.java:122)
	at  
com.singingfish.knowledgebase.KBLogger.attachUDPAppender(KBLogger.java: 
165)

at com.singingfish.knowledgebase.KBLogger.(KBLogger.java:96)
	at  
com.singingfish.knowledgebase.KBLogger$KBLoggerFunctionalTest.testMessag 
eNoServer(KBLogger.java:430)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at  
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav 
a:39)
	at  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor 
Impl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
	at  
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe 
stRunner.java:436)
	at  
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRun 
ner.java:311)
	at  
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRu 
nner.java:192)



On Oct 4, 2005, at 1:50 PM, Jacob Kjome wrote:


Quoting [EMAIL PROTECTED]:


I have a question which has likely been answered (sorry, couldn't find
it):  I'm using a UDPAppender so I want to be able to catch exceptions
like UnknownHostException or BindException, but if I do...

log.info("sending UDP message");

and it fails, the Exception is sent to the console, but I'm not able  
to

catch it in my code.  What is the intended way that I should handle
these types of exceptions?



Log4j should never ever throw exceptions from its public api.  What is  
the

exception?  Please provide the stacktrace.

Jake


Thanks for any help!
/ErikAnthony

p.s.
If there is a wiki or FAQ that I should normally consult (other than
the archive of this user list) that would be really helpful too.
Thanks again!
/EA


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Catching Log4j Exceptions

2005-10-04 Thread Jacob Kjome
Quoting [EMAIL PROTECTED]:

> I have a question which has likely been answered (sorry, couldn't find
> it):  I'm using a UDPAppender so I want to be able to catch exceptions
> like UnknownHostException or BindException, but if I do...
>
> log.info("sending UDP message");
>
> and it fails, the Exception is sent to the console, but I'm not able to
> catch it in my code.  What is the intended way that I should handle
> these types of exceptions?
>

Log4j should never ever throw exceptions from its public api.  What is the
exception?  Please provide the stacktrace.

Jake

> Thanks for any help!
> /ErikAnthony
>
> p.s.
> If there is a wiki or FAQ that I should normally consult (other than
> the archive of this user list) that would be really helpful too.
> Thanks again!
> /EA
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Catching Log4j Exceptions

2005-10-04 Thread illumine
I have a question which has likely been answered (sorry, couldn't find 
it):  I'm using a UDPAppender so I want to be able to catch exceptions 
like UnknownHostException or BindException, but if I do...


log.info("sending UDP message");

and it fails, the Exception is sent to the console, but I'm not able to 
catch it in my code.  What is the intended way that I should handle 
these types of exceptions?


Thanks for any help!
/ErikAnthony

p.s.
If there is a wiki or FAQ that I should normally consult (other than 
the archive of this user list) that would be really helpful too.  
Thanks again!

/EA


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Log4J Eclipse

2005-10-04 Thread Alan Gutierrez
* Mark Womack <[EMAIL PROTECTED]> [2005-10-04 12:15]:

> It would be cool if we could plug Chainsaw into Eclipse. Paul,
> Scott, how hard do you think that would be?

Well, if that GPL'd Eclipse plugin is unmaintained, I'm still
willing to have a go at starting up a plugin.

--
Alan Gutierrez - [EMAIL PROTECTED] - http://engrm.com/blogometer/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Log4J Eclipse

2005-10-04 Thread Rakesh Patel
Well I found this link:

http://www.magpiebrain.com/archives/2003/09/19/ganymede_revisited_log4j_
in_eclipse

I can now programmatically configure log4j and it produces output:

BasicConfigurator.configure(new SocketAppender("localhost",4445));

The line numbers don't appear though. If anyone has managed to get it to
work with a property file, please post it here!!!

Thanks

Rakesh

-Original Message-
From: Rakesh Patel 
Sent: 04 October 2005 17:18
To: Log4J Users List
Subject: RE: Log4J Eclipse


I've just installed Ganymede but cannot get it to work. No errors, just
nothing. Here's my property file:

log4j.rootCategory=DEBUG, Ganymede

log4j.appender.Ganymede=org.apache.log4j.net.SocketAppender
log4j.appender.Ganymede.remoteHost=localhost
log4j.appender.Ganymede.port=4445
log4j.appender.Ganymede.locationInfo=true

I would put this question on sourceforge but the last post was over a
year ago so not sure if anyone's there.

Rakesh

PS Am using Eclipse 3.1

-Original Message-
From: Alan Gutierrez [mailto:[EMAIL PROTECTED] 
Sent: 04 October 2005 16:07
To: Log4J Users List
Subject: Re: Log4J Eclipse


* Robert Hedin <[EMAIL PROTECTED]> [2005-10-04 11:03]:
> Checkout the Ganymede Plugin for Eclipse: 
> http://sourceforge.net/projects/ganymede/
> 
> Basically, you setup your appenders to use a SocketAppender and this 
> listens for logging messages and displays them, color coded, in a
table. 
> Also allows you to filter the messages, etc.

Perfect.

--
Alan Gutierrez - [EMAIL PROTECTED] - http://engrm.com/blogometer/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



American Express Investments and American Express Independent Financial
Advisers are marketing names for American Express Financial Services
Europe Limited, a separate corporation within the American Express group
of companies.  American Express Financial Services Europe Limited is
authorised and regulated by, and is entered into the register (No.
190853 www.fsa.gov.uk/register/) of, the Financial Services Authority
and a member of the London Stock Exchange. Registered in England No.
3614902. Registered address: 230 Blackfriars Road, London SE1 8NW. Vat
No. 740 4143 68. 

The information in this email and any attachments is confidential and
intended solely for the attention and use of the named addressee(s). It
may be subject to legal, professional or other privilege and further
distribution of it is strictly prohibited without our authority.  If you
are not the intended recipient, you are not authorised to and must not
disclose, copy, distribute, or retain this message or any part of it,
and should notify us immediately.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



American Express Investments and American Express Independent Financial 
Advisers are marketing names for American Express Financial Services Europe 
Limited, a separate corporation within the American Express group of companies. 
 American Express Financial Services Europe Limited is authorised and regulated 
by, and is entered into the register (No. 190853 www.fsa.gov.uk/register/) of, 
the Financial Services Authority and a member of the London Stock Exchange. 
Registered in England No. 3614902. Registered address: 230 Blackfriars Road, 
London SE1 8NW. Vat No. 740 4143 68. 

The information in this email and any attachments is confidential and intended 
solely for the attention and use of the named addressee(s). It may be subject 
to legal, professional or other privilege and further distribution of it is 
strictly prohibited without our authority.  If you are not the intended 
recipient, you are not authorised to and must not disclose, copy, distribute, 
or retain this message or any part of it, and should notify us immediately.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Log4J Eclipse

2005-10-04 Thread Rakesh Patel
I've just installed Ganymede but cannot get it to work. No errors, just
nothing. Here's my property file:

log4j.rootCategory=DEBUG, Ganymede

log4j.appender.Ganymede=org.apache.log4j.net.SocketAppender
log4j.appender.Ganymede.remoteHost=localhost
log4j.appender.Ganymede.port=4445
log4j.appender.Ganymede.locationInfo=true

I would put this question on sourceforge but the last post was over a
year ago so not sure if anyone's there.

Rakesh

PS Am using Eclipse 3.1

-Original Message-
From: Alan Gutierrez [mailto:[EMAIL PROTECTED] 
Sent: 04 October 2005 16:07
To: Log4J Users List
Subject: Re: Log4J Eclipse


* Robert Hedin <[EMAIL PROTECTED]> [2005-10-04 11:03]:
> Checkout the Ganymede Plugin for Eclipse:
> http://sourceforge.net/projects/ganymede/
> 
> Basically, you setup your appenders to use a SocketAppender and this
> listens for logging messages and displays them, color coded, in a
table. 
> Also allows you to filter the messages, etc.

Perfect.

--
Alan Gutierrez - [EMAIL PROTECTED] - http://engrm.com/blogometer/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



American Express Investments and American Express Independent Financial 
Advisers are marketing names for American Express Financial Services Europe 
Limited, a separate corporation within the American Express group of companies. 
 American Express Financial Services Europe Limited is authorised and regulated 
by, and is entered into the register (No. 190853 www.fsa.gov.uk/register/) of, 
the Financial Services Authority and a member of the London Stock Exchange. 
Registered in England No. 3614902. Registered address: 230 Blackfriars Road, 
London SE1 8NW. Vat No. 740 4143 68. 

The information in this email and any attachments is confidential and intended 
solely for the attention and use of the named addressee(s). It may be subject 
to legal, professional or other privilege and further distribution of it is 
strictly prohibited without our authority.  If you are not the intended 
recipient, you are not authorised to and must not disclose, copy, distribute, 
or retain this message or any part of it, and should notify us immediately.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Log4J Eclipse

2005-10-04 Thread Mark Womack
It would be cool if we could plug Chainsaw into Eclipse. Paul, Scott, how
hard do you think that would be?

-Mark

On 10/4/05, Alan Gutierrez <[EMAIL PROTECTED]> wrote:
>
> * Robert Hedin <[EMAIL PROTECTED]> [2005-10-04 11:03]:
> > Checkout the Ganymede Plugin for Eclipse:
> > http://sourceforge.net/projects/ganymede/
> >
> > Basically, you setup your appenders to use a SocketAppender and this
> > listens for logging messages and displays them, color coded, in a table.
> > Also allows you to filter the messages, etc.
>
> Perfect.
>
> --
> Alan Gutierrez - [EMAIL PROTECTED] - http://engrm.com/blogometer/
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Log4J Eclipse

2005-10-04 Thread Alan Gutierrez
* Robert Hedin <[EMAIL PROTECTED]> [2005-10-04 11:03]:
> Checkout the Ganymede Plugin for Eclipse: 
> http://sourceforge.net/projects/ganymede/
> 
> Basically, you setup your appenders to use a SocketAppender and this 
> listens for logging messages and displays them, color coded, in a table. 
> Also allows you to filter the messages, etc.

Perfect.

--
Alan Gutierrez - [EMAIL PROTECTED] - http://engrm.com/blogometer/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Log4J Eclipse

2005-10-04 Thread Robert Hedin
Checkout the Ganymede Plugin for Eclipse: 
http://sourceforge.net/projects/ganymede/


Basically, you setup your appenders to use a SocketAppender and this 
listens for logging messages and displays them, color coded, in a table. 
Also allows you to filter the messages, etc.


rob.




Alan Gutierrez wrote:


   Is there a Log4J Eclipse plugin?

   One that will display Log4J messages in a table view?

--
Alan Gutierrez - [EMAIL PROTECTED] - http://engrm.com/blogometer/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Log4J Eclipse

2005-10-04 Thread Alan Gutierrez
* Bradley, Todd <[EMAIL PROTECTED]> [2005-10-04 10:42]:
> > -Original Message-
> > From: Alan Gutierrez [mailto:[EMAIL PROTECTED] 
> > Sent: Tuesday, October 04, 2005 8:40 AM
> > To: log4j-user@logging.apache.org
> > Subject: Log4J Eclipse
> > 
> > Is there a Log4J Eclipse plugin?
> > 
> > One that will display Log4J messages in a table view?

> None that I've heard of, but that would be really, really cool.

> I'm imagining something like Chainsaw v2 that's just another view
> in Eclipse.  Oooh!

I'm casting about for a simple plugin project to learn Eclipse.
Creating a nice table view that connects to a socket listener
would probably be a matter of gluing the two APIs together.

I'd like to try it, if there is interest, but I'd like to start
with something very small at first.

Cheers.

--
Alan Gutierrez - [EMAIL PROTECTED] - http://engrm.com/blogometer/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Log4J Eclipse

2005-10-04 Thread Harp, George
You can write to console for applications you run inside the ide. 
If it is outside the IDE there is a tail plugin for eclipse. 

-Original Message-
From: Alan Gutierrez [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 04, 2005 9:40 AM
To: log4j-user@logging.apache.org
Subject: Log4J Eclipse

Is there a Log4J Eclipse plugin?

One that will display Log4J messages in a table view?

--
Alan Gutierrez - [EMAIL PROTECTED] - http://engrm.com/blogometer/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Log4J Eclipse

2005-10-04 Thread Bradley, Todd
None that I've heard of, but that would be really, really cool.  I'm
imagining something like Chainsaw v2 that's just another view in
Eclipse.  Oooh!

> -Original Message-
> From: Alan Gutierrez [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, October 04, 2005 8:40 AM
> To: log4j-user@logging.apache.org
> Subject: Log4J Eclipse
> 
> Is there a Log4J Eclipse plugin?
> 
> One that will display Log4J messages in a table view?
> 
> --
> Alan Gutierrez - [EMAIL PROTECTED] - http://engrm.com/blogometer/
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Log4J Eclipse

2005-10-04 Thread Alan Gutierrez
Is there a Log4J Eclipse plugin?

One that will display Log4J messages in a table view?

--
Alan Gutierrez - [EMAIL PROTECTED] - http://engrm.com/blogometer/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Show logs in real time on a Swing Application

2005-10-04 Thread Ricardo Lopes
Yes i check out chainsaw a long time ago, is nice, but doesn't fit my 
needs.

And i have to change my log to xml format .

Thanks,
Ricardo Lopes.

Harp, George wrote:

Have you checked out chainsaw? 


-Original Message-
From: Ricardo Lopes [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 03, 2005 1:28 PM

To: log4j-user@logging.apache.org
Subject: Show logs in real time on a Swing Application

Hi,

I want to include a way of showing the logs on the applications i'm
developping. Something simple like pressing a button on my swing
interface a showing a window with the contents of the log.
I'm currently using a FileAppender with a custom format to save the
logs.

I would really like to do it this way:

1- Read all the Log and put it on the swing window
2- Register a custom appender (on the fly) that would append the new
entries on the window as they are logged
3- When the window is closed the appender is removed

Is it posible to do this?
Would it affect logging performance anyhow?

Thanks,
Ricardo Lopes.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



getting timestamp in my HTML log file

2005-10-04 Thread Aries Fajar
Hi,

I need to show the timestamp ( HH:MM:SS or other
format ) information in my HTML log file. So far what
i get is just how many seconds after the program
start.

Is there any configuration/properties in the
configuration file regarding this timestamp format ?

Thanks
Aries






___ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]