log4j issue

2003-07-29 Thread Satrasala, Sudhakar
Hi,
 
I get an error message when trying to log. I don't have a console appender
entry in my configuration file. Still,. My configurator code looks like:
 
URL url = LoggingConfigurator.class.getResource("/log.xml");
DOMConfigurator.configure(url.getFile());
 
I keep getting this error everytime.

log4j:ERROR Attempted to append to closed appender named [console]
 
Sudhakar
 


Re: Chainsaw 2 filtering wishes...

2003-07-29 Thread Paul Smith
On Tue, 2003-07-29 at 19:45, Max Rydahl Andersen wrote:
> Know it works I got some wishes/ideas ;)
> 
> 
> 1. Let me select wether I want to use regular expression or case 
> insensitive matching
>   (actually, enabling caseinsensitve regular expression would be a nice 
> option)

A good idea.  

> 2. Any way to show elapsed time between visible rows - instead of just 
> the event time ?

That's probably a performance killer at this stage.  We could probably
easily allow you to Select two rows, and provide either a status bar
and/or popup option to display the time difference, but doing it for
every single row is probably something I would prefer not to do at this
stage.

> 3. Let me define a SimpleDateFormat expression for the time stamp rows.

Another good idea, we've thought of that one too, we're working towards
some ideas for the preferences side of things, so this one will
definitely go in.

> 4. Let me define which part of the Logger name I want to see.
>e.g. in x.y.z.some.package.LoggerTableView I would like to see
> LoggerTableView more than I like to see x.y.z..some... (maybe get 
> inspired of
> eclipse's package name "compression" scheme

Another good one (this also drives me a little crazy).

> 5. Let me view the logger hiearchy and enable/disable/filter on that 
> (Look at Lumbermill for inspiration - its
> gui is actually quite good regarding enabling/disabling parents/children 
> levels)

Got a link for Lumbermill? (too busy, I mean lazy, to do a google
search).

cheers,

Paul Smith


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



NTEventLogAppender

2003-07-29 Thread Ewan Carr
Hi
I'm completely new to log4j and am looking to
work out how to log events to the Windows event
log from within Java.
I Would like the standard fields like time/date 
to be logged as well as message text and message
source. Does anyone have a noddy example which would
point me in the right direction ?
Also is it possible to use event-IDs rather than
message text so save the event log getting filled with
repeated text ?

Any help appreciated
Ewan


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/

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



RE: Log4J admin web app

2003-07-29 Thread Shapira, Yoav

Howdy,
FYI, I added a deployment descriptor example to the file
(ConfigurationServlet.java) in the sandbox last night.  I'll add a
configuration servlet war target to the sandbox build.xml when I get a
chance.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Doyle, Jim [mailto:[EMAIL PROTECTED]
>Sent: Friday, July 18, 2003 6:37 PM
>To: [EMAIL PROTECTED]
>Subject: RE: Log4J admin web app
>
>Yoav, Mark,
>
>Thanks for the feedback, now I'm on the same page as everyone else.
>The features provided by the ConfigurationServlet now (listing Loggers
and
>letting you change their priorities) is probably good enough for what
our
>admins need.  So I probably won't attempt to enhance it right now,
>but if I do I will certainly share the patches.  :)
>
>One thing I would probably contribute right off the bat, though, are
>deployment descriptors (samples at least) and a revised Ant target that
>builds a war file for the ConfigurationServlet itself.
>
>Right now I'm comparing JMX support with ConfigurationServlet and
deciding
>which way to go.  (I'm going to post about JMX in a separate thread.)
>
>Thanks again,
>Jim
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: Chainsaw 2 filtering wishes...

2003-07-29 Thread Max Rydahl Andersen
Know it works I got some wishes/ideas ;)

1. Let me select wether I want to use regular expression or case 
insensitive matching
 (actually, enabling caseinsensitve regular expression would be a nice 
option)

2. Any way to show elapsed time between visible rows - instead of just 
the event time ?

3. Let me define a SimpleDateFormat expression for the timestamp rows.

4. Let me define which part of the Logger name I want to see.
  e.g. in x.y.z.some.package.LoggerTableView I would like to see
   LoggerTableView more than I like to see x.y.z..some... (maybe get 
inspired of
eclipse's package name "compression" scheme

5. Let me view the logger hiearchy and enable/disable/filter on that 
(Look at Lumbermill for inspiration - its
gui is actually quite good regarding enabling/disabling parents/children 
levels)

yup - that's about it ;)

Good work guys!

/max



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


Re: Chainsaw 2 filtering problems...

2003-07-29 Thread Max Rydahl Andersen
I'll just shut up it works know ;)

/max

Paul Smith wrote:

Just checking all angles, the mistake I always make is making sure the
correct filter drop down is selected (ie. I am wanting to filter the
message column, but the drop has timestamp selected, which of course
finds nothing).
Also check what the tooltip is when you mouse over the search string
text box, let us know what it says.
cheers,

Paul Smith

On Tue, 2003-07-29 at 17:12, Max Rydahl Andersen wrote:
 

I actually also meant '.*' .- and it ain't make any difference - 
everything is still just filtered away.

.*e.* does the same thing

/max

Paul Smith wrote:

   

I think you want .* don't you?

. just means a single character, which is unlikely to be a very useful
Logging statement and so probably won't match anything.  :)
So if you want anything that has an "blah" in it, I would try (off the
top of my head, and 2-1 odds this ends up being wrong) try ".*blah.*".
Any other Chainsaw 2 feedback very welcome.

cheers,

Paul Smith
(Co-dev-type-guy of Chainsaw2, alas swamped by job at the moment)
On Tue, 2003-07-29 at 16:39, Max Rydahl Andersen wrote:

 

Hi!

First: I like the new Chainsaw 2 ;)

Second: The filtering mechanism should work with regular expression if 
ORO is installed and if not fallback to case-insensitive indexof 
filtering, right ?

Why is it then that enterin '.' (a dot - whichi should match everything) 
filters out ALL lines ?
And entering 'e' (the letter e, which is part of 99,9% of my messages) 
instead also filters out ALL lines ?

I simply can't make the filtering mechanism work :(

Any ideas ?

/max



-
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]
 



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


Re: Chainsaw 2 filtering problems...

2003-07-29 Thread Paul Smith
Just checking all angles, the mistake I always make is making sure the
correct filter drop down is selected (ie. I am wanting to filter the
message column, but the drop has timestamp selected, which of course
finds nothing).

Also check what the tooltip is when you mouse over the search string
text box, let us know what it says.

cheers,

Paul Smith

On Tue, 2003-07-29 at 17:12, Max Rydahl Andersen wrote:
> I actually also meant '.*' .- and it ain't make any difference - 
> everything is still just filtered away.
> 
> .*e.* does the same thing
> 
> /max
> 
> Paul Smith wrote:
> 
> >I think you want .* don't you?
> >
> >. just means a single character, which is unlikely to be a very useful
> >Logging statement and so probably won't match anything.  :)
> >
> >So if you want anything that has an "blah" in it, I would try (off the
> >top of my head, and 2-1 odds this ends up being wrong) try ".*blah.*".
> >
> >Any other Chainsaw 2 feedback very welcome.
> >
> >cheers,
> >
> >Paul Smith
> >(Co-dev-type-guy of Chainsaw2, alas swamped by job at the moment)
> >
> >On Tue, 2003-07-29 at 16:39, Max Rydahl Andersen wrote:
> >  
> >
> >>Hi!
> >>
> >>First: I like the new Chainsaw 2 ;)
> >>
> >>Second: The filtering mechanism should work with regular expression if 
> >>ORO is installed and if not fallback to case-insensitive indexof 
> >>filtering, right ?
> >>
> >>Why is it then that enterin '.' (a dot - whichi should match everything) 
> >>filters out ALL lines ?
> >>And entering 'e' (the letter e, which is part of 99,9% of my messages) 
> >>instead also filters out ALL lines ?
> >>
> >>I simply can't make the filtering mechanism work :(
> >>
> >>Any ideas ?
> >>
> >>/max
> >>
> >>
> >>
> >>
> >>-
> >>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: Chainsaw 2 filtering problems...

2003-07-29 Thread Max Rydahl Andersen
I actually also meant '.*' .- and it ain't make any difference - 
everything is still just filtered away.

.*e.* does the same thing

/max

Paul Smith wrote:

I think you want .* don't you?

. just means a single character, which is unlikely to be a very useful
Logging statement and so probably won't match anything.  :)
So if you want anything that has an "blah" in it, I would try (off the
top of my head, and 2-1 odds this ends up being wrong) try ".*blah.*".
Any other Chainsaw 2 feedback very welcome.

cheers,

Paul Smith
(Co-dev-type-guy of Chainsaw2, alas swamped by job at the moment)
On Tue, 2003-07-29 at 16:39, Max Rydahl Andersen wrote:
 

Hi!

First: I like the new Chainsaw 2 ;)

Second: The filtering mechanism should work with regular expression if 
ORO is installed and if not fallback to case-insensitive indexof 
filtering, right ?

Why is it then that enterin '.' (a dot - whichi should match everything) 
filters out ALL lines ?
And entering 'e' (the letter e, which is part of 99,9% of my messages) 
instead also filters out ALL lines ?

I simply can't make the filtering mechanism work :(

Any ideas ?

/max



-
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]