Solved

OC4J Server Configuration

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

This is an explanation of a simple data model to help parse a JSON feed
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now