Solved

How to configure log4j in weblogic 8.1 on solaris.

Posted on 2006-11-01
2
2,298 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
2 Comments
 
LVL 11

Accepted Solution

by:
sompol_kiatkamolchai earned 250 total points
Comment Utility
0
 

Author Comment

by:Zuzic
Comment Utility
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

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

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…

743 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