Solved

How to configure log4j in weblogic 8.1 on solaris.

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
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.

786 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