<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>I agree with you Chris in so much that a fatal error is really what you do about it.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>And logging is to support the application. The application is really going to be doing something<o:p></o:p></p><p class=MsoNormal>atypical on a fatal error rather than an ordinary error. This needs to be highlighted in the logs.<o:p></o:p></p><p class=MsoNormal>The level of the log message should reflect the nature of the message.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Brett<o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> logback-user-bounces@qos.ch [mailto:logback-user-bounces@qos.ch] <b>On Behalf Of </b>Chris Pratt<br><b>Sent:</b> Monday, 15 August 2011 12:01 PM<br><b>To:</b> logback users list<br><b>Subject:</b> Re: [logback-user] Best practices for FATAL errors...<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>An error, is an error. The difference is what you do about it, not what level it's logged at.<br> (*Chris*)<o:p></o:p></p><div><p class=MsoNormal>On Sun, Aug 14, 2011 at 5:55 PM, Jason Berk <<a href="mailto:jasonrberk@gmail.com">jasonrberk@gmail.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal>+1<br><br>I have the exact same question<br><br>Sent from my iPhone<o:p></o:p></p><div><div><p class=MsoNormal><br>On Aug 14, 2011, at 7:14 PM, Leon Rosenberg <<a href="mailto:rosenberg.leon@gmail.com">rosenberg.leon@gmail.com</a>> wrote:<br><br>> Hi,<br>><br>> since logback doesn't support log level FATAL I'm wondering how you<br>> guys are separating between 'normal' errors and 'really bad' errors.<br>> Example:<br>> Warning: tried to insert statement into db, found key conflict,<br>> resolved it (somehow).<br>> Normal errors: couldn't insert the statement into db because the<br>> encoding is invalid (or couldn't read user's file because its corrupt)<br>> - affects one user.<br>> Really bad errors: have no connection to db, so my further existence<br>> is rather meaningless.<br>><br>> So how do you guys log fatal errors without fatal? .-)<br>><br>> best regards<br>> Leon<br>> _______________________________________________<br>> Logback-user mailing list<br>> <a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>> <a href="http://qos.ch/mailman/listinfo/logback-user" target="_blank">http://qos.ch/mailman/listinfo/logback-user</a><br>_______________________________________________<br>Logback-user mailing list<br><a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br><a href="http://qos.ch/mailman/listinfo/logback-user" target="_blank">http://qos.ch/mailman/listinfo/logback-user</a><o:p></o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></body></html>