Solved

OC4J Server Configuration

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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

This article will show, step by step, how to integrate R code into a R Sweave document
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
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…

778 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