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 "Alain Pannetier (JIRA)" <ji...@apache.org> on 2016/05/09 13:19:13 UTC

[jira] [Created] (LOG4J2-1383) ConfigurationSource from input stream not working with ByteArrayInputStream

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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org