Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to configure log4j in weblogic 8.1 on solaris.

Posted on 2006-11-01
2
Medium Priority
?
2,310 Views
Last Modified: 2013-12-10
Hi all,

I'm having no luck getting any log output to file in my setup which includes log4j 1.2.8, Weblogic 8.1 all running on solaris.

I have ample logging calls in my EAR file but do not see anything being logged to my output file.

At present my log4j.properties file sits in the root directory of my web domain.

I'm not sure where to refer to the log4j jar file though.

If anyone has a good suggestion for how to configure weblogic 8.1 on solaris to use log4j I'd be very appreciative of them.

I have seen log4j write to the console but am assuming that has to do with my weblogic install having it's own log4j conifguration.

Regards.......
0
Comment
Question by:Zuzic
[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
2 Comments
 
LVL 11

Accepted Solution

by:
sompol_kiatkamolchai earned 750 total points
ID: 17858034
0
 

Author Comment

by:Zuzic
ID: 17862885
Thanks for the input.

It turns out that the name assigned to my logger in my code did not match the name of my appender in the properties file.

Calls to class.getName() return the package name and the class name where as I was only catering for class name.............
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

Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

636 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