Description
From [email protected] on November 12, 2009 17:17:08
What steps will reproduce the problem? 1. call ESAPI.setLogFactory to set a LogFactory Programmatically.
2. call ESAPI.securityConfiguration() What is the expected output? What do you see instead? I would expect the output from the constructor of
DefaultSecurityConfiguration to log according to whatever configuration my
factory provides. Instead, it should log using the factory if it has
already been configured. What version of the product are you using? On what operating system? Found in 1.4, confirmed in 2.0rc4 Please provide any additional information below. DefaultSecurityConfiguration probably shouldn't check to see if a factory
is set in the logSpecial method, because then we may get half logged to
System.out and half to a log file. A flag should be set in the
constructor, and then reset when getLogImplementation is called, or some
similar trigger.
Original issue: http://code.google.com/p/owasp-esapi-java/issues/detail?id=58