Hi !
now that I have - again - a working dev platform for Eclipse - many
thanks Stefan ! - I would like to bring some discussion about logs.
Currently, we are mostly using the getLog().log() method all over the
code. It gets the logger from the plugin. So far, so good, but the pb is
that this approach is only available when you are using it in classes
inheriting from Plugin.
One option, as I can see in the code, would be to grab the plugin logger
like in :
ConnectionUIPlugin.getDefault().getLog().log( blah... );
but it's a bit heavy, and it does not allow you to discriminate between
errors, warnings or even debug.
In the LdifModificationLogger, we are using JUL to log LDIF parsing
error messages. It's very limited to this class.
All in all, we have very few logs, and the logs we have are mainly
stacktraces or messages we don't know their level of criticity.
So, what about using Log4j? Considering that most of the bundles we are
depending on are using it, why not using it too in Studio ?
Also what would be the impact, and the technical hurdles we would face
if so ?
Wdyt ?