users@glassfish.java.net

Re: Logging of traffic?

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 11 Jan 2007 10:58:23 -0500

Hi Jan,

Jan Kesten wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hello!
>
> First of all, I'm new here so let me introduce myself a little bit. I'm
> Jan from germany and a student of CS as well as software developer.
>
> I'm using GlassFish some time now - but now I have to save bandwidth in
> one application as most as possible. So I turned on http compression and
> that works quite good. But I haven't found a way to find out the
> compression ratio, mod_deflate under apache is able to log this
> information so is this possible here too? And if yes - how?

Unfortunately we aren't logging that information in the access log. It
shouldn't be that difficult to add support for it as it is easy to
monitor the byteRead/byteWrite compression ratio (byteWrite/byteRead *
100). I've filled [1] and will try to implement it before 9.1 FCS. If
you are interested to log more, just update the issue.

Thanks for the feedback!

-- Jeanfrancois

[1] https://glassfish.dev.java.net/issues/show_bug.cgi?id=2011



>
> Thanks for any hints,
> Jan
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (MingW32)
> Comment: GnuPT 2.7.6
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFpk8MvvmCkIIgH8QRAqgiAKCe64QQrOV7vCSpX4BY9yZSG4qPygCfZxCv
> Ba0I+LdyNSuz7g4N6nrDE4s=
> =0sya
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>