Listing B
<?xml version="1.0" encoding="windows-1252" standalone="no"?> <!DOCTYPE log SYSTEM "logger.dtd"> <log> <record> <date>2002-06-26T19:46:02</date> <millis>1025135162758</millis> <sequence>0</sequence> <logger>JavaLoggingExample</logger> <level>SEVERE</level> <class>JavaLoggingExample</class> <method><init></method> <thread>10</thread> <message>This is a severe level message!</message> </record> <record> <date>2002-06-26T19:46:03</date> <millis>1025135163249</millis> <sequence>1</sequence> <logger>JavaLoggingExample</logger> <level>SEVERE</level> <class>JavaLoggingExample</class> <method><init></method> <thread>10</thread> <message>This is a second severe level message!</message> </record> <record> <date>2002-06-26T19:46:03</date> <millis>1025135163259</millis> <sequence>2</sequence> <logger>JavaLoggingExample</logger> <level>INFO</level> <class>JavaLoggingExample</class> <method>testLog</method> <thread>10</thread> <message>Message sent from method call.</message> </record> </log>