felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seifert (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-5108) scr bnd plugin: Add option to suppress writing log to filesystem
Date Wed, 18 Nov 2015 23:55:10 GMT

     [ https://issues.apache.org/jira/browse/FELIX-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefan Seifert updated FELIX-5108:
----------------------------------
    Attachment: FELIX-5108-logToFile.patch

attached is a patch: [^FELIX-5108-logToFile.patch]

it uses "true" as default value for {{logToFile}}, you may change it to false if it suites
better.

> 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
>
>         Attachments: FELIX-5108-logToFile.patch
>
>
> 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)

Mime
View raw message