Bug 52913 - Configure from an InputStream
Configure from an InputStream
Status: RESOLVED FIXED
Product: Log4j
Classification: Unclassified
Component: Configurator
1.2
PC All
: P2 normal
: ---
Assigned To: log4j-dev
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-03-15 01:44 UTC by Gary Gregory
Modified: 2012-04-11 02:26 UTC (History)
0 users



Attachments
Diff file with unit tests. (14.87 KB, application/octet-stream)
2012-03-15 01:44 UTC, Gary Gregory
Details
Updated patch for 1.2.17 (with unit tests) (15.17 KB, patch)
2012-04-11 02:05 UTC, Gary Gregory
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Gregory 2012-03-15 01:44:27 UTC
Created attachment 28469 [details]
Diff file with unit tests.

The attached patch with a unit tests configures Log4J from an InputStream.
Comment 1 Gary Gregory 2012-04-11 02:05:59 UTC
Created attachment 28578 [details]
Updated patch for 1.2.17 (with unit tests)

I'll try to commit this but I do not think I have karma yet.
Comment 2 Gary Gregory 2012-04-11 02:26:29 UTC
commit -m "Bugzilla issue 52913: Configure from an InputStream." (7 paths specified)
    Sending        C:/svn/org/apache/log4j/trunk/src/main/java/org/apache/log4j/PropertyConfigurator.java
    Sending        C:/svn/org/apache/log4j/trunk/src/main/java/org/apache/log4j/helpers/OptionConverter.java
    Sending        C:/svn/org/apache/log4j/trunk/src/main/java/org/apache/log4j/lf5/DefaultLF5Configurator.java
    Sending        C:/svn/org/apache/log4j/trunk/src/main/java/org/apache/log4j/spi/Configurator.java
    Sending        C:/svn/org/apache/log4j/trunk/src/main/java/org/apache/log4j/varia/ReloadingPropertyConfigurator.java
    Sending        C:/svn/org/apache/log4j/trunk/tests/src/java/org/apache/log4j/PropertyConfiguratorTest.java
    Sending        C:/svn/org/apache/log4j/trunk/tests/src/java/org/apache/log4j/helpers/OptionConverterTestCase.java
    Transmitting file data ...
    Committed revision 1312071.