Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #11044

Re: Logging Question

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Logging Question
Date Sat, 31 Dec 2011 17:25:59 -0500
Organization A noiseless patient Spider
Lines 16
Message-ID <jdo1qq$7mb$1@dont-email.me> (permalink)
References <Xns9FCCA78288290jpnasty@94.75.214.39>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sat, 31 Dec 2011 22:20:10 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="qwFw1g9RsQ6TkML5yezG9A"; logging-data="7883"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19aD4saWdMVwwxl4ZWXK2G1eNuKQuidgK8="
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20111110 Icedove/3.0.11
In-Reply-To <Xns9FCCA78288290jpnasty@94.75.214.39>
Cancel-Lock sha1:rLqgFuIBOgeRCA14PkX6a/1JUuE=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:11044

Show key headers only | View raw


On 12/31/2011 04:27 PM, Novice wrote:
> I have a question about the standard Java logging.
>
> I am using the Java classes to create an XML log. Is there any way that I
> can insert an extra line in the XML generated by the logging classes
> programmatically? That extra line is NOT a log record, it is an
> <xsl:stylesheet>  tag. I have a specific XSL file that I'd like to format
> the XML with and it would be rather convenient to have the program insert
> that line in the XML file.
>
> I've poked around the API and the documentation on logging but don't see
> anything like this. It seems like a simple enough thing that I'd like to
> believe this kind of thing was provided for....
>
This fellow uses java.util.logging.Formatter.getHead(Handler h).
<http://forward.com.au/javaProgramming/javaGuiTips/javaLogging.html>

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Logging Question Novice <novice@example..com> - 2011-12-31 21:27 +0000
  Re: Logging Question Jeff Higgins <jeff@invalid.invalid> - 2011-12-31 17:25 -0500
    Re: Logging Question Novice <novice@example..com> - 2012-01-01 01:46 +0000
  Re: Logging Question Lew <lewbloch@gmail.com> - 2011-12-31 14:53 -0800
    Re: Logging Question Novice <novice@example..com> - 2012-01-01 01:59 +0000
      Re: Logging Question Jeff Higgins <jeff@invalid.invalid> - 2011-12-31 22:14 -0500
        Re: Logging Question Novice <novice@example..com> - 2012-01-01 05:44 +0000
          Re: Logging Question Jeff Higgins <jeff@invalid.invalid> - 2012-01-01 07:59 -0500
            Re: Logging Question Jeff Higgins <jeff@invalid.invalid> - 2012-01-01 08:14 -0500
            Re: Logging Question Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-01-01 19:06 -0400
              Re: Logging Question Jeff Higgins <jeff@invalid.invalid> - 2012-01-01 18:24 -0500
              Re: Logging Question Tom Anderson <twic@urchin.earth.li> - 2012-01-03 15:33 +0000
                Re: Logging Question Jeff Higgins <jeff@invalid.invalid> - 2012-01-03 11:21 -0500
                Re: Logging Question Jeff Higgins <jeff@invalid.invalid> - 2012-01-03 11:35 -0500
                Re: Logging Question Tom Anderson <twic@urchin.earth.li> - 2012-01-04 14:42 +0000
                Re: Logging Question Jeff Higgins <jeff@invalid.invalid> - 2012-01-04 11:43 -0500
                Re: Logging Question Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-01-04 20:28 -0400
                Re: Logging Question Donkey Hottie <donkey@fredriksson.dy.fi> - 2012-01-05 11:28 +0200
                Re: Logging Question Tom Anderson <twic@urchin.earth.li> - 2012-01-08 14:08 +0000
                Re: Logging Question Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-01-09 19:47 -0400

csiph-web