?
Solved

OC4J Server Configuration

Posted on 2004-08-07
5
Medium Priority
?
1,227 Views
Last Modified: 2012-06-21
We are developing an application using oc4j server.In oc4j server, the output/trace is written to a file called as log4j.log I want to view the details in the command prompt itself where I run the server (Like the Weblogic Server).Is there any way to do it?

WAiting for your reply....

Thanks
Venish Joe
0
Comment
Question by:venishjoe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 4

Expert Comment

by:alikoank
ID: 11744007
You can disable log4j debugging by adding/changing following line in oc4j.properties
log4j.debug = false

Also take a look at Log4j home

http://jakarta.apache.org/log4j/

0
 
LVL 4

Author Comment

by:venishjoe
ID: 11750868

Ok. I can disable the log4j debugging, but how can I view the output in DOS/Screen?
0
 
LVL 4

Accepted Solution

by:
alikoank earned 2000 total points
ID: 11750911

add/modify these lines in your log4j.properties

log4j.rootCategory=DEBUG, dest1
log4j.appender.dest1=org.apache.log4j.ConsoleAppender
log4j.appender.dest1.layout=org.apache.log4j.PatternLayout
0
 
LVL 4

Author Comment

by:venishjoe
ID: 11753511
Hai  alikoank,

It Worked....
Thank you very much for your help.

Regards
Venish
0
 
LVL 4

Expert Comment

by:alikoank
ID: 11754642
you are welcome.
thanks for the grade :-)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is about my first experience with programming Arduino.
Make the most of your online learning experience.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Introduction to Processes
Suggested Courses
Course of the Month8 days, 6 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question