• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

log statements logging onto wrong .log file

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • 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?
 
If you are using a rototiller, you are doing it wrong. Even on this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!