GlassFish log file too verbose? Sebastien has something for you.

sed 2.0!

Some people consider the content of a typical GlassFish log file too verbose. If you're one of them, Luxemburg's Sebastien Stormacq has something for you - a Sed-based filter. The short script can be applied (tail) to the log file directly or straight on the GlassFish standard output when starting in verbose mode.

On a similar note there's also the Log Viewer from the admin console which will also allow you to filter out based on time, content, severity, and more.

I guess sed (Stream EDitor) is the kind of tool Unix/Linux admins just can't go without. Interestingly enough, Sed is Turing-complete and can lead to interesting implementations.

Comments:

Post a Comment:
Comments are closed for this entry.