You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Court Demas <co...@yahoo.com> on 2001/07/26 13:25:32 UTC

AppletConfigurator

Has anybody considered or written an AppletConfigurator?

I imagine it would be like a simple mix between BasicConfigurator and
PropertyConfigurator, called like this:

public class MyApplet extends Applet
{
    public void init()
    {
        AppletConfigurator.configure( this );
    }
}

The configuration properties would be much simpler, as applets generally
need fewer options, and we could remove the reflection requirement (so
it'll run on Netscape 4.x).  Applet parameters would override anything
specified in a configuration file, although maybe this should still be
checked:

    Applet.getDocumentBase() + "log4j.properties"

Thoughts?

court
[background:  It seems that the Netscape 4.7 and earlier VMs do not
support reflection, which is required by the PropertyConfigurator.  This
isn't just an applet signing or permissions problem.]


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

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