commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emlyn.Pur...@scisys.co.uk
Subject Logging in applets
Date Wed, 29 Jan 2003 12:37:55 GMT
Hi there,
I am currently developing a java applet that uses existing code that itself
uses log4j.

When running the applet as an application I have no problems, however when
I try to run the applet from an HTML page any call to LogFactory.getLog()
fails with the exception:

org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException

I have checked that the class name being passed into the function is valid.
Is the problem related to the fact that the applet will not have access to a log4j.properties
file and if so is there any way round this?
Is there any way of disabling logging so that the problem will not occur?

There shouldn't be any security issues relating to logging as the applet and all the code
it uses is signed.

Any help with this issue would be gratefully received.
Regards,
Emlyn J Purvis



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message