You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2015/11/19 00:51:10 UTC

[jira] [Created] (FELIX-5108) scr bnd plugin: Add option to suppress writing log to filesystem

Stefan Seifert created FELIX-5108:
-------------------------------------

             Summary: scr bnd plugin: Add option to suppress writing log to filesystem
                 Key: FELIX-5108
                 URL: https://issues.apache.org/jira/browse/FELIX-5108
             Project: Felix
          Issue Type: Improvement
          Components: SCR Tooling
    Affects Versions: scr bnd plugin 1.4.0
            Reporter: Stefan Seifert
             Fix For: scr bnd plugin 1.5.0


Currently the scr bnd plugins passes log information not only back to bnd via bnd's reporter, but also writes a log file to  
{noformat}
/tmp/scrplugin/<BundleSymbolicName>.log
{noformat}

this can create problems on systems where writing to such a path is not permitted (e.g. on CI servers running concurrently multiple jobs), and it is not always useful either.

A new option {{logToFile}} should be added, default value is true = current behavior. if set to false the log file is not written to the temp directory.

One could discuss if perphaps a default value of false would suite better, because it is quite uncommon to write a log file to a fixed path by default.



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