• 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
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

logging in weblogic workshop - urgent

 
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have 2 applications deployed in WL8 workshop domain. Both these applications contains web services. I am using weblogic.jws.util.Logger instance JwsContext for logging the messages in the JWS file. Now my problem is , log messges from both the applications are going into one log file when i define the log4j category like this -

<category name="wlw">
<priority value="debug" />
<appender-ref ref="APPLOGFILE" />
<appender-ref ref="LOGFILE1" />
</category>

So tried with 2 different categories as I want to seperate the log files for 2 applications. I set the category like this -

<category name="com.covad.test.webservice1">
<priority value="debug" />
<appender-ref ref="LOGFILE1" />
</category>

<category name="com.covad.test.webservice2">
<priority value="debug" />
<appender-ref ref="LOGFILE2" />
</category>

this does not help. 2 log files are created, however, they are empty. How do i seperate the log from 2 applications?
 
Where all the women are strong, all the men are good looking and all the tiny ads are above average:
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!