<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<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 name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@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;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:3.0cm 2.0cm 3.0cm 2.0cm;}
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=DA link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Have you enabled automatic printing of status messages in case of warming or errors?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>(see </span><a href="http://logback.qos.ch/manual/configuration.html#automaticStatusPrinting"><span lang=EN-US>http://logback.qos.ch/manual/configuration.html#automaticStatusPrinting</span></a><span lang=EN-US>)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>It will go to your console.</span><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></a></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><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>Tony Trinh<br><b>Sent:</b> 25. august 2012 23:57<br><b>To:</b> logback users list<br><b>Subject:</b> Re: [logback-user] Problem with Logging in Linux<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Fri, Aug 24, 2012 at 6:52 AM, Oliver Zemann <<a href="mailto:oliver.zemann@gmail.com" target="_blank">oliver.zemann@gmail.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal>Hi, i have the absolut identical file for Windows which works as<br>expected (logging), but not for linux:<br><br><a href="http://rifers.org/paste/show/1801" target="_blank">http://rifers.org/paste/show/1801</a><br><br>There is just no logging - i started everything as root. Even when i<br>use the FileAppender with its file name property set to "somelog.log"<br>or "/root/somelog.log" it just saves nothing and i have no idea why.<br><br>I used updatedb && locate to find a file called like this but there<br>was nothing. Also lsof with a grep find nothing opened. So it is<br>really not logging.<br><br>Regards,<br>Oli<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Your config for the RollingFileAppender is missing the <file> element. The manual contains a good example of all the necessary elements [1]. logback should print a warning in the debug output for this.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal>It would be helpful if you provided additional details to reproduce the problem:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal> * What version of logback and slf4j are you using?<o:p></o:p></p></div><div><p class=MsoNormal> * Which flavor (and version) of Linux are you running? <o:p></o:p></p></div></div><div><p class=MsoNormal> * Does the same problem occur when you try your logback config in a simple HelloWorld app (outside of install4j)?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>FYI, your logback config works (writes to a file) for me in Android.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>It looks like Install4j supports a console [2], when running the installer with "-c". It might be worth seeing if logback's debug-output prints in that console.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>[1]: <a href="http://logback.qos.ch/manual/appenders.html#logback-RollingTimeBased">http://logback.qos.ch/manual/appenders.html#logback-RollingTimeBased</a><o:p></o:p></p></div><div><p class=MsoNormal>[2]: <a href="http://www.ej-technologies.com/products/install4j/whatsnew4.html">http://www.ej-technologies.com/products/install4j/whatsnew4.html</a><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div></body></html>