How to modify the default logging config?

View: New views
3 Messages — Rating Filter:   Alert me  

How to modify the default logging config?

by Ed Burns :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Team,

I would like to add some logging configuration for bean-validator.
Because they're using slf4j-jdk14, I assume that I can affect those
configuration changes in the same place the rest of our logging
configuration is declared.

Can someone please tell me how to make these changes?

Thanks,

Ed
--
| ed.burns@...  | office: 408 884 9519 OR x31640
| homepage:         | http://ridingthecrest.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: How to modify the default logging config?

by Carla Mott :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Ed,

Logger configuration info is in logging.properties file in the config
dir.  Handler info is in there too.  How is configuration done for
slf4j?  What do you want to configure?

Carla

Ed Burns wrote:

> Hello Team,
>
> I would like to add some logging configuration for bean-validator.
> Because they're using slf4j-jdk14, I assume that I can affect those
> configuration changes in the same place the rest of our logging
> configuration is declared.
>
> Can someone please tell me how to make these changes?
>
> Thanks,
>
> Ed


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Parent Message unknown Re: How to modify the default logging config?

by Ed Burns :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>>>>> On Thu, 29 Oct 2009 15:02:45 -0700, Carla Mott <Carla.Mott@...> said:

CM> Logger configuration info is in logging.properties file in the config
CM> dir.  Handler info is in there too.  How is configuration done for
CM> slf4j?  What do you want to configure?

The JSR-303 impl we take from JBoss causes the string "Hibernate
Validator" to appear in our log.  I've been asked to avoid having this
string show up in our log.  However, this is the product name of their JSR-303
impl and cannot be changed.

I've been told the next best thing is to configure the logging so that
only warn and above are shown.  Here's what I have on how to do it.

>>>>> On Wed, 28 Oct 2009 07:25:12 -0500 (CDT), "Hardy Ferentschik (JIRA)" <noreply@...> said:

HF> If you don't want the info message to appear in your environment I
HF> recommend configuring your log configuration and set the log level
HF> for org.hibernate.validator.util.Version. Something like this:

HF> log4j.logger.org.hibernate.validator.util.Version=warn

Now, Carla, I assumed that actually getting this working would take some
trial and error, since that's my experience with configuring logging
systems, but if you tell me it's actually an easy thing to do, I'll be
happy to do it.

Thanks,

Ed

--
| ed.burns@...  | office: 408 884 9519 OR x31640
| homepage:         | http://ridingthecrest.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...