[rfc][icedtea-web] makeing basic logger work at least a bit
Jiri Vanek
jvanek at redhat.com
Mon Sep 16 08:37:42 PDT 2013
Well the current logger is even more broken then I thought. It is not working at all:)
The reason is that deployment configuration it is using is not ready in static time.
The best fix for this would be to make jnlpruntime.config better singleton then it is (several
initialisations via load/load(boolean) - but it appeared to be tricky.
So I'm creating one redundant copy only for initialisation of logger, and then dropping it.
Well there is hidden one more change (/me knocking myself to head for double patch again)
The xml logger is imho completely redundant thing for puposes of itw.
- itw is not 24/7 hyper multi thread application
- the output contains also soutt/err messages (hard to read among all the tags!)
- every run of itw had its separate file
- c-part is not (yet?) using thsi file - should, And if will ,then xml will be even harder bourden.
I'm quite affraid of reactions after log flame-war, but I couldn't resist :)
The log(ItwLogger.getHeader(ItwLogger.StdStream.OUT)); is just idea not necessary for this patch
itself.
Sorry for making noise with all the logging
J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makeCustomLoggingWorkAnusefull.patch
Type: text/x-patch
Size: 3690 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130916/36f9505d/makeCustomLoggingWorkAnusefull.patch
More information about the distro-pkg-dev
mailing list