• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

log statements logging onto wrong .log file

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I have a log4j.properties file where i configure the different appenders for different applications so that each application logs on its own .log file.

The problem that i'm having with this is that the Log statements for 1 application are being logged onto a wrong .log file.
So log statements that are suppose to be logged into the file 'DataCalculatorPortlet.log' are being logged into the file DAOLayer.log

for example 1 application should log on its own log file e.g.:

application 1: /opt/Vignette/Env/Logs/DAOLayer/DAOLayer.log
application 2: /opt/Vignette/Env/Logs/DataCalculatorPortlet/DataCalculatorPortlet.log

therefore my log4j.properties looks like this:


Any advice on what i might be doing wrong?
 
reply
    Bookmark Topic Watch Topic
  • New Topic