<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 17 Jul 2013, at 11:09, Stuart Rossiter <<a href="mailto:stuart.p.rossiter@gmail.com">stuart.p.rossiter@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_extra" style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; "><div style="word-wrap: break-word; "><div>There is no .java stuffix, just the .class suffix, and it's not so ugly, in fact the IDE makes it a pretty colour!  :-)</div><span class="HOEnZb"><font color="#888888"><br></font></span></div></blockquote></div><div class="gmail_extra"><br></div>I was confused because the poster's log extracts clearly show SLF4JConsoleTest.java being used as the name of the logger, when he used the basic getLogger(Class clazz) form in his code.</div><div class="gmail_extra" style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><br></div><div class="gmail_extra" style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">No access to coding platform at the mo, so I'm posting 'blind' here!</div></blockquote></div><br><div>Sorry, you are right, my bad.</div><div><br></div><div>The %file pattern is being used, and that outputs the name of the source file.  And since the inner class is in the same source file as the outer class, the source file logged is the same.  </div><div><br></div><div>I've never used %file myself, as it's slow, and if you use one logger per class then you can infer the source file.</div><div><br></div><div>David</div></body></html>