Hello,
I'm using a custom LogListener to redirect messages from Equinox logging to logback. I want to have everything in the same log file.
It works as expected except for the error/warning messages such as :
!SESSION 2015-10-08 20:02:50.334 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_25
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_FR
Framework arguments: -product ***** -equinox.ds.debug=true -equinox.ds.print=true
Command-line arguments: -product ***** -consoleLog -equinox.ds.debug=true -equinox.ds.print=true
!ENTRY org.eclipse.equinox.ds 1 0 2015-10-08 20:02:51.452
!MESSAGE Could not bind a reference of component....
Is it possible to redirect them as well ?
Right now they are always logged in the .metadata/ log file. I'd like to have everything in the same file.
My bridge between Equinox and Logback is as follow :
@Override
public void logged(LogEntry entry) {
LOG.info(entry.getMessage());
}
So I'm pretty sure it's not a matter of log level being filtered....
Any idea ?
Thanks
[Updated on: Thu, 08 October 2015 18:16] by Moderator
Report message to a moderator