Solved

How to configure log4j in weblogic 8.1 on solaris.

Posted on 2006-11-01
2
2,306 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 250 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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

733 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