I am writting a simple application using weblogic workshop and I want to be able to write/log to file using apache's log4j
Here is what I want to do:
1. Configue weblogic (8.x) and my app to write to a specified log file in my log4j.properties file
2. write logs (info,debug,warning) to the file on the app server from the application jsp, ejbs, and java (javabean) programs
3. provide a simple link to view the log file in my app
I have used log4j extensively in the past on standalone java programs, it just gets a little tricky in the app server environment..
Please provide simple and concise sample code and instructions..