[
https://issues.apache.org/jira/browse/FELIX-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15042442#comment-15042442
]
Pierre De Rop commented on FELIX-5108:
--------------------------------------
Thanks for submitting this patch, I will look into it soon.
I do agree, we should not log by default.
> 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)