Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

logging in weblogic workshop - urgent

Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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" />

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 name="com.covad.test.webservice2">
<priority value="debug" />
<appender-ref ref="LOGFILE2" />

this does not help. 2 log files are created, however, they are empty. How do i seperate the log from 2 applications?
We should throw him a surprise party. It will cheer him up. We can use this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic