Solved

OC4J Server Configuration

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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
topping2 challenge 13 94
Formula for calculating ROI on training 6 50
Selenium docs api java index 3 48
Eclipse Java import and method not resolved 4 50
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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 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…

829 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