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 Newsgroups: comp.lang.java.programmer Subject: Re: Logging Question Date: Sun, 01 Jan 2012 08:14:05 -0500 Organization: A noiseless patient Spider Lines: 18 Message-ID: References: <9102298.933.1325372035497.JavaMail.geo-discussion-forums@prj1> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 1 Jan 2012 13:08:13 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="qwFw1g9RsQ6TkML5yezG9A"; logging-data="24272"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18WE1gw26JiJurtJvfm8ABUWaKYpXVf5xM=" 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: Cancel-Lock: sha1:12eb8cxVxb8EuxXudXlWHVE5VCY= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:11052 On 01/01/2012 07:59 AM, Jeff Higgins wrote: > On 01/01/2012 06:33 AM, Stefan Ram wrote: >> Novice writes: >>> Yes! I simply copied XMLFormatter from the Java source file, added one >> >> A log file should remain usable even when the process was terminated >> abnormally. But an XML file needs to have one single root element >> that has an end tag at its end. A process that is being terminated >> abnormally might not write such an end tag. So, one has no guarantee >> that the log output is well-formed XML. Or did I miss something? >> > Only that there are no guarantees. > > > Security section is also worth a read.