RE: commons.logging and log4j configureAndWatch

2003-12-02 Thread Martin Flower
Thank you very much for this information.

==
Martin


-Original Message-
From: Mark Womack [mailto:[EMAIL PROTECTED]
Sent: 01 December 2003 18:35
To: 'Log4J Users List'
Subject: RE: commons.logging and log4j configureAndWatch


Hi Martin,

There is no such functionality available in v1.2.X.  We are working on this
functionality for v1.3 (Watchdogs).  For now, you would need to write your
own log4j specific code, outside of the common-logging framework.

hth,
-Mark

 -Original Message-
 From: Martin Flower [mailto:[EMAIL PROTECTED]
 Sent: Monday, December 01, 2003 10:14 AM
 To: [EMAIL PROTECTED]
 Subject: commons.logging and log4j configureAndWatch
 
 
 commons.logging and log4j configureAndWatch
 
 Hello
 
 The application I work on currently uses the log4j configureAndWatch
 facility which
 allows the logging level to be dynamically modified without 
 restarting the
 application.
 
 I am now evaluating whether we can move to the 
 commons.logging framework as
 a wrapper to log4j.  The answer is yes - but I cannot  see how to
 dynamically
 modify the logging level.  I was hoping there would be a 
 facility within the
 log4j.properties file, such as
 log4j.PropertyConfigurator.configureAndWatch=true,
 but I may be searching in vain.
 
 Any help will be gratefully received.  Thanks !
 
 ==
 Martin
 
 
 -
 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]



timestamp in chainsaw v2

2003-12-02 Thread Ulrich . Kleeberger
hi guys,

what i am missing in chainsaw v2 is the possibility to define the timestamp
mask.
in the log panel preferences you can only specify three different timestamp
masks.
is there any way to define your own timestamp mask like dd.MM. HH:mm:ss
or am i missing something?

servus uli




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



additivity trouble

2003-12-02 Thread ahmed . alami-prestataire
Hello everybody,

I'm using a root category for all the logs and i want to exclude a class
from these logs, here is my log4j.properties file


log4j.rootCategory=INFO, console

log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%-5p [%t] %40c %x - %m%n

log4j.category.fr.MyClass=INFO, console
log4j.additivity.fr.MyClass=false


This doesn't work.
Can someone help me?
Thanks in advance...


Ahmed ALAMI
SDV (Support Outils Dévellopement NTIC)
Tel : 05 57 75 60 52




JUST GEEK CODE
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCM d s+: a C+ UL++ P L++ E++ W++ N++ o K- w
O M- V- PS++ PE+ Y+ PGP+ t 5 X R tv+ b+++ DI+ D
G++ e+++ h+ r++ x+
--END GEEK CODE BLOCK--
-BEGIN JAVA GEEK CODE BLOCK-
Version: 0.01b
Epvbdemon+++()@$*
--END JAVA GEEK CODE BLOCK--Post-scriptum La Poste

Ce message est confidentiel. Sous réserve de tout accord conclu par
écrit entre vous et La Poste, son contenu ne représente en aucun cas un
engagement de la part de La Poste. Toute publication, utilisation ou
diffusion, même partielle, doit être autorisée préalablement. Si vous
n'êtes pas destinataire de ce message, merci d'en avertir immédiatement
l'expéditeur.



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

RE: timestamp in chainsaw v2

2003-12-02 Thread Paul Smith
At this stage there is no way to do it via the GUI, but we do have plans to
add this feature before release.  Internally this is how it is accomplished,
but we decided to initially have a few likely options as simple choices.
there will definately be a custom option. 

Maybe I can slip this feature in earlier since you are using chainsaw v2
already.  

Let us know if there is anything else you are passionate about, or if you
find any issues.

cheers,

Paul Smith

-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 12/2/03 6:39 PM
Subject: timestamp in chainsaw v2

hi guys,

what i am missing in chainsaw v2 is the possibility to define the
timestamp
mask.
in the log panel preferences you can only specify three different
timestamp
masks.
is there any way to define your own timestamp mask like dd.MM.
HH:mm:ss
or am i missing something?

servus uli




-
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: additivity trouble

2003-12-02 Thread Paul Smith
You have attached the console appender to the logger you wish to ignore, in
this line:

log4j.category.fr.MyClass=INFO, console

This means that any INFO message for that logger will go to the console
appender, which really means that this entry is redundant.

What I think you want is to modify this line:

log4j.category.fr.MyClass=INFO, console

to either:

log4j.category.fr.MyClass=OFF

or:

log4j.category.fr.MyClass=INFO

The former is more efficient since logs will be ignored at an earlier stage,
while the latter means that INFO and above are 'accepted', but since there
is no logger attached (and additivity is off) they do not end up anywhere.

Hope that helps.

cheers,

Paul Smith
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 12/2/03 7:31 PM
Subject: additivity trouble

Hello everybody,

I'm using a root category for all the logs and i want to exclude a class
from these logs, here is my log4j.properties file


log4j.rootCategory=INFO, console

log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%-5p [%t] %40c %x - %m%n

log4j.category.fr.MyClass=INFO, console
log4j.additivity.fr.MyClass=false


This doesn't work.
Can someone help me?
Thanks in advance...


Ahmed ALAMI
SDV (Support Outils Dévellopement NTIC)
Tel : 05 57 75 60 52




JUST GEEK CODE
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCM d s+: a C+ UL++ P L++ E++ W++ N++ o K- w
O M- V- PS++ PE+ Y+ PGP+ t 5 X R tv+ b+++ DI+ D
G++ e+++ h+ r++ x+
--END GEEK CODE BLOCK--
-BEGIN JAVA GEEK CODE BLOCK-
Version: 0.01b
Epvbdemon+++()@$*
--END JAVA GEEK CODE BLOCK--
 ATT108217.txt  ATT108218.txt 

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



Antwort: RE: timestamp in chainsaw v2

2003-12-02 Thread Ulrich . Kleeberger

cool. thanks.

another feature i think would be useful could be:
right click on the tab would open a context dialog where you could close
the tab.
the same function as you would : View-Display Tabs-...

by the way : chainsaw v2 is awesome





   

  Paul Smith   

  [EMAIL PROTECTED]An:   '[EMAIL PROTECTED] ' 
[EMAIL PROTECTED], 
  x.com.au '[EMAIL PROTECTED] ' [EMAIL 
PROTECTED] 
   Kopie:  

  02.12.03 11:53   Thema:RE: timestamp in chainsaw v2  

   

   





At this stage there is no way to do it via the GUI, but we do have plans to
add this feature before release.  Internally this is how it is
accomplished,
but we decided to initially have a few likely options as simple choices.
there will definately be a custom option.

Maybe I can slip this feature in earlier since you are using chainsaw v2
already.

Let us know if there is anything else you are passionate about, or if you
find any issues.

cheers,

Paul Smith

-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 12/2/03 6:39 PM
Subject: timestamp in chainsaw v2

hi guys,

what i am missing in chainsaw v2 is the possibility to define the
timestamp
mask.
in the log panel preferences you can only specify three different
timestamp
masks.
is there any way to define your own timestamp mask like dd.MM.
HH:mm:ss
or am i missing something?

servus uli




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



log output appended to JBOSS's logs

2003-12-02 Thread publio tapia

 Hi,
  I triying to get a new appenders in order to get
 new tidy and well organized logging in my project.
 I encountered the problem that my output was
 appended
 onto the end of JBoss' logs format. 
 How could I avoid it?
 
 The result is quite annoying.It does not matter what
 for a level I choose, since it would be set under
 the
 level of the last log of jboss. Like I show here:
 
  
 2003-12-01 21:14:51,652 INFO [STDOUT] 21:14:51,652
ERROR  [PersonActionForm] We get the fax, set as
 Error
 
 Thanks very much!


Download Yahoo! Messenger now for a chance to win Live At Knebworth DVDs
http://www.yahoo.co.uk/robbiewilliams

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



Re: Antwort: RE: timestamp in chainsaw v2

2003-12-02 Thread Paul Smith
 another feature i think would be useful could be:
 right click on the tab would open a context dialog where you could close
 the tab.
 the same function as you would : View-Display Tabs-...

Ulrich, this feature also managed to get done today.  Right click on a
tab to see the popup.  The old View-Display Tabs has been removed
in favour of the new feature, and we'll eventually have a separate
'Window' top level menu to assist in the managing of all Tabs and
undocked windows.

Let me know what you think.

cheers,

Paul Smith


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



Antwort: Re: Antwort: RE: timestamp in chainsaw v2

2003-12-02 Thread Ulrich . Kleeberger

cool, thanks Paul.

tonight i will take look at it and let you know.

another feature which comes to my mind :
double click on the border line between two columns sizes the column to its
optimal width.
like in excel. i have problems to describe this behaviour in english, so
ask me again
if you don't understand what i mean.

servus uli




   

  Paul Smith   

  [EMAIL PROTECTED]An:   Log4J Users List [EMAIL 
PROTECTED]  
  x.com.auKopie:  

   Thema:Re: Antwort: RE: timestamp in 
chainsaw v2 
  03.12.03 03:35   

  Bitte antworten  

  an Log4J Users  

  List

   

   





 another feature i think would be useful could be:
 right click on the tab would open a context dialog where you could close
 the tab.
 the same function as you would : View-Display Tabs-...

Ulrich, this feature also managed to get done today.  Right click on a
tab to see the popup.  The old View-Display Tabs has been removed
in favour of the new feature, and we'll eventually have a separate
'Window' top level menu to assist in the managing of all Tabs and
undocked windows.

Let me know what you think.

cheers,

Paul Smith


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