You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2016/01/25 14:15:40 UTC

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

    [ https://issues.apache.org/jira/browse/FELIX-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15115175#comment-15115175 ] 

Konrad Windszus commented on FELIX-5108:
----------------------------------------

+1 for making "false" the default. Just logging to the bnd reporter is enough in 99% of the cases.

> 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
>            Assignee: Pierre De Rop
>             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)