perfsonar-dev - Re: [pS-dev] Common template of log4j file
Subject: perfsonar development work
List archive
- From: "Michael Bischoff" <>
- To: "Szymon Trocha" <>
- Cc: "perfsonar-dev" <>
- Subject: Re: [pS-dev] Common template of log4j file
- Date: Mon, 17 Mar 2008 12:38:41 +0100 (CET)
- Importance: Normal
> Dear perfSONAR evelopers,
>
>
> A template of log4j file was added into pSbase configuration directory
> in SVN (trunk/perfsonar_base/conf/log4j.properties.template). It should be
> common across all
> services so please check whether you service is using this version and if
> not please replace
> your configuration file with this template so all services are consistent.
>
> Thank you and regards,
> --
> Szymon Trocha
>
>
> Poznan Supercomputing & Ntw. Center ::: NETWORK OPERATION CENTER
> Tel. (+48 61) 8582022
> http://noc.man.poznan.pl ::: http://noc.pionier.gov.pl
>
>
Hello all,
I have some comments:
##
## All log levels in one log file.
## By default debug level is switched off (commented).
##
# Group=Log levels
# Description=Assigns debug log messages to the specified log appender.
#log4j.logger.sonar-debug=DEBUG, psRootAppender
Editing commented lines is not supported by the webadmin (afaik) perhaps we
should use a
different method of disabling/enabling loggers.
logDir=_LOGPATH_
Perhaps this should have a sensible default like:
logDir=${catalina.home} (ties the configuratio nto beeign tomcat specific
though)
or
logDir=${user.home} (perhaps not the most ideal location but should work
among al servlet
containers and *nix-like OS'es. (I'm not sure what value it would be under
windows if it's
started by localservice.)
I'm also happy to see that the separated files setup isn't the default
anymore.
And on a differend note:
anyway to fix the printing of the class that called the logging to be
correct? if you use the
%F %L in the pattern it prints the LoggerComponent not the class calling the
logger
component.
regards
Michael Bischoff
- Common template of log4j file, Szymon Trocha, 03/17/2008
- Re: [pS-dev] Common template of log4j file, Michael Bischoff, 03/17/2008
Archive powered by MHonArc 2.6.16.