Raghuveer wrote:
> I am getting below error.
>
I'm baffled as to why you'd creating your logger like that, but that's a
different issue--like Adam said, check out the docs on the Log4J site;
the "Quick Start" should be enough to get you going.
Bottom line is you need a Log4J config file on you
.
-Original Message-
From: Raghuveer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 19, 2006 2:09 PM
To: [EMAIL PROTECTED]; 'Struts Users Mailing List'
Subject: RE: log 4 j error in struts 1.2.8
do i need to overide actionservlet for this ?
-Original Message-
From: abdurra
do i need to overide actionservlet for this ?
-Original Message-
From: abdurrahman sahin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 19, 2006 3:40 PM
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: log 4 j error in struts 1.2.8
hi;
you may try initializing
hi;
you may try initializing logger in a servlet like below;
public void init(ServletConfig config) throws ServletException {
super.init(config);
try {
doLoggingSettings(config);
s_logger.info("Initializing Gui Starter
Hi Raghuveer,
this means that you have either not configured a logger in
log4j.properties / log4j.xml, or that java is not finding the file.
Your logger name which you are getting with getLogger(cal.getTime) is
highly unusual! Such an approach would be virtually impossible to
configure prope
5 matches
Mail list logo