[rfc][icedtea-web] log jnlp file to console
jvanek at redhat.com
Fri Nov 7 13:53:12 UTC 2014
On 10/21/2014 03:46 PM, Jiri Vanek wrote:
> This is not just rfc, but RFC :) as I'm not sure which way to go. The only one I found suitbale -
> this oen - is not nice.
> Curently all the logs are going to logger, which determine if debug is on and what channels are
> enabled (stdout/err, file, console)
> According to those, it consume the message. This workflow had one exception, the reprinting of
> jnlpfiel, which went only to console, if debug was online.
> Most of the bugreports now contains whole console - and it is very good - but that measn the jnlp
> file is missing.
> The jnlpfile reprint was excluded, becasue console is using html formatting, to higlight outputs -
> for palintext the reprint is and willbe working fine, but it is not working with syntax higlighting
> from obvious reasons.
> I wont to avoid escaping of inpout - the message object is sahred between stdou/file/html
> console/plain console so to make special decoding for html console do need copy of it (and in case
> of console solid rework of console itself) and then proces via esapcping.
> Another issue is that html in java is terribly old, and hard to say what specification it supports
> (if any).
> To my surpise it support <plaintext> (yes nothing else do so...) So I have tryed to include the jnlp
> reprint wrapped by this tags. And it seems to be working fine wiht all supported outputs without any
> encodings or copying.
> There is drawback - eg firefox now have issues to show everything behind </plaintext> :( (note -
> <pre> do not work for jeeditorpane:( ))
ping, thoughts? I amde an attmept with <pre><plaintext></paintext></pre> and it did not helped.
Still the jnlp fiel should appear inconsole :(
More information about the distro-pkg-dev