[
https://issues.apache.org/jira/browse/FELIX-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre De Rop resolved FELIX-5108.
----------------------------------
Resolution: Fixed
Sorry, I forgot to commit your patch.
Just did it in revision 1726715 (thanks !).
By default, we don't log anymore to temp directory.
I also slightly modified the patch in order to enabler bnd "Reporter" traces
when log level is >= Info level, if not , then the info/debug would not be
displayed at all to stdout (by the Reporter).
I'm changing this issue to resolved; feel free to reopen if you are not
satisfied.
> 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)