Solved

OC4J Server Configuration

Posted on 2004-08-07
5
1,222 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 500 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

This is an explanation of a simple data model to help parse a JSON feed
In this post we will learn different types of Android Layout and some basics of an Android App.
Simple Linear Regression
Progress

688 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