I am using the apache commons-logging solution with BEA 8.1 (SP1). When I create
a log entry as below:

private static Log log = LogFactory.getLog(demo.class);
log.error("This is an error message");

It will appear in the console but will not appear in the BEA log file. Does anyone
know how I can get this to write to the BEA logfile (needs to be generic as I
may also be using other application servers in the future). thanks RBC