Alain Pannetier created LOG4J2-1383:
---------------------------------------

             Summary: ConfigurationSource from input stream not working with 
ByteArrayInputStream
                 Key: LOG4J2-1383
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1383
             Project: Log4j 2
          Issue Type: Bug
          Components: Configurators
    Affects Versions: 2.5
         Environment: java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
Linux 64
            Reporter: Alain Pannetier
            Priority: Minor


1/ Load a basic configuration file (file appender declaration) as input stream.
  - Log file gets created, message is logged.

2/ Load the content of that same configuration file from a String as 
ByteArrayInputStream
 - Log file gets created, no message is logged.

This is not related to the appender (eg async, bufferedIO, immediateFlush are 
without effect).





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to