• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2313
  • Last Modified:

How to configure log4j in weblogic 8.1 on solaris.

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
Zuzic
Asked:
Zuzic
1 Solution
 
ZuzicAuthor Commented:
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now