On Wed, 27 Mar 2002, Tim Vernum wrote:
The contact the logging has, is that it will attempt the following:
* Look a attribute set on Factory
* Look at system properties
* Try log4j
* Try JDK1.4
* Use Default (no-op?) log
This is definitely the desired contract. Unfortunately, the
From: Juozas Baliuka [mailto:[EMAIL PROTECTED]]
Would it be possible for someone to change file LogFactoryImpl.java?
It currently has:
} catch (SecurityException e) {
}
And it might be better if it had:
} catch (SecurityException e) {
logClassName
Hi,
I does not work on this project, but I think it is not the best idea to set
default logger on security exeption.
It will be very dificult to find a problem and grant requred permissions or
to dissable logging if app does not have permissions for logging.
The most *secure* way not to catch
Not sure if this is the best thing to do but...
Could someone change LogFactoryImpl.java. There is a SecurityException
caught in that file (just the one) which does nothing. Could this be changed
to, perhaps:
} catch (SecurityException e) {
logClassName = LOG_DEFAULT;