[slf4j-dev] [JIRA] (SLF4J-395) add a configuration for System.out/err cache

QOS.CH (JIRA) noreply-jira at qos.ch
Sun Feb 26 15:50:00 CET 2017


Hervé Boutemy created SLF4J-395:
-----------------------------------

             Summary: add a configuration for System.out/err cache
                 Key: SLF4J-395
                 URL: https://jira.qos.ch/browse/SLF4J-395
             Project: SLF4J
          Issue Type: Improvement
          Components: slf4j-simple
    Affects Versions: 1.7.24
         Environment: in SLF4J-389, having slf4j simple provider caching System.out and System.err was though as a bug, annoying some people in their integration where they prefer not caching and benefitting from code changing System.out/err value to change slf4j simple output

In Maven, this cache is more seen as a feature, that prevents changing Maven output location in a plugin that would play with System.out/err for integrating some code: Maven is an open world, I didn't find such a plugin, but it may exist and the new not-caching slf4j simple would more been seen as a bug for us.

 

In fact, caching is not per se a bug: it's a feature that can be useful to disable (or the oposite, to enable when you want it)

Please add a configuration to enable/disable caching: I don't know if caching should be enable by default or not, it depends on what you consider the default behaviour of slf4j simple provider for years
            Reporter: Hervé Boutemy
            Assignee: SLF4J developers list






--
This message was sent by Atlassian JIRA
(v7.3.1#73012)


More information about the slf4j-dev mailing list