<div dir="ltr">Hi David,<div><br></div><div>I'm not working in this issue right now but i can help in the near future..</div><div><br></div><div>In my environment i ran the tests without forking and got the same results.</div>


<div><br></div><div>$ mvn -Dsurefire.forkCount=0 clean install<br></div><div><br></div><div><div>Results :</div><div><br></div><div>Failed tests: </div><div>  TimeUtilTest.testDay:74 expected:<1164078000000> but was:<1164074400000></div>


<div>  TimeUtilTest.testWeek:100 expected:<1164596400000> but was:<1164592800000></div><div>  TimeUtilTest.testMonth:115 expected:<1164942000000> but was:<1164938400000></div><div>  RollingCalendarTest.testVaryingNumberOfDailyPeriods:92 p=13 expected:<1224381600000> but was:<1224385200000></div>


<div><br></div><div>Tests run: 445, Failures: 4, Errors: 0, Skipped: 6</div><div><br></div><div><br></div><div>$ mvn -Duser.timezone=CET -Dsurefire.forkCount=0 clean install<br></div><div><br></div><div><div>Results :</div>

<div><br></div><div>Failed tests: </div><div>  MDCBasedDiscriminatorTest.nullMDC:75 expected:<{}> but was:<{compositeProperty=1778710127, max=1363994495, linger=session2005380814, userId=user3, propertyDefinedWithinSift=1630846478, localProperty=62716588}></div>

<div><br></div><div>Tests run: 417, Failures: 1, Errors: 0, Skipped: 16</div></div><div><br></div><div><br></div><div style>regards,</div><div><br></div><div><br></div><div><br></div></div></div><div class="gmail_extra">
<br clear="all">
<div><font size="1" face="verdana, sans-serif">-- <br style="color:rgb(136,136,136);background-color:rgb(255,255,255)"></font><div><font size="1" face="verdana, sans-serif">Leonardo S Souza<br>Amtera Semantic Technologies<br>

Rua da Quitanda, 194, sala 1201 - Centro<br>Rio de Janeiro - RJ - Brasil<br>Tel: + 55 21 2213 3220<br>Cel: + 55 21 9877 7081<br style="color:rgb(136,136,136);background-color:rgb(255,255,255)"><a href="http://www.amtera.com.br/" style="color:rgb(17,85,204);background-color:rgb(255,255,255)" target="_blank">www.amtera.com.br</a></font></div>

</div>
<br><br><div class="gmail_quote">2013/6/18 David Roussel <span dir="ltr"><<a href="mailto:nabble@diroussel.xsmail.com" target="_blank">nabble@diroussel.xsmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word">Leonardo,<div><br></div><div>Interesting.  Can you see how to fix them?  When I've seen timezone unit set failures in the past, it's usually been a bit tricky to fix.</div><div><br>

</div><div>I tried running:</div><div class="im"><div>$ mvn -Duser.timezone=CET clean install</div><div><br></div></div><div>But the tests still passed.  I guess the surefire test forking is getting in the way.  But when I set -Dsurefire.forkCount=0 I got other problems.</div>

<div><br></div><div>David</div><div><br></div><div><div><div class="h5"><div>On 17 Jun 2013, at 14:44, Leonardo Souza <<a href="mailto:lsouza@amtera.com.br" target="_blank">lsouza@amtera.com.br</a>> wrote:</div><br>

</div></div><blockquote type="cite"><div><div class="h5"><div dir="ltr">Hi David,<div><br></div><div>Here is my outputs.</div><div><br></div><div><div>$ git show --summary</div><div>commit 2a73e043e149693fcd0ad2f90b04702c2dba4851</div>

<div>Author: Ceki Gulcu <<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a>></div>

<div>Date:   Fri Jun 14 11:55:05 2013 +0200</div><div><br></div><div><div>$ javac -version</div><div>javac 1.6.0_41</div><div><br></div><div><div>$ mvn -version</div><div>Apache Maven 3.0.4</div><div>Maven home: /usr/share/maven</div>



<div>Java version: 1.6.0_41, vendor: Sun Microsystems Inc.</div><div>Java home: /usr/lib/jvm/java-6-sun-1.6.0.41/jre</div><div>Default locale: pt_BR, platform encoding: UTF-8</div><div>OS name: "linux", version: "3.2.0-32-generic", arch: "amd64", family: "unix"</div>



</div><div><br></div><div><br></div></div><div>First run:</div><div><br></div><div>$ mvn clean install</div><div><br></div><div><div>Results :</div><div><br></div><div>Failed tests: </div><div>

  TimeUtilTest.testDay:74 expected:<1164078000000> but was:<1164074400000></div><div>  TimeUtilTest.testWeek:100 expected:<1164596400000> but was:<1164592800000></div><div>  TimeUtilTest.testMonth:115 expected:<1164942000000> but was:<1164938400000></div>



<div>  RollingCalendarTest.testVaryingNumberOfDailyPeriods:92 p=13 expected:<1224381600000> but was:<1224385200000></div><div><br></div><div>Tests run: 445, Failures: 4, Errors: 0, Skipped: 6</div><div><br></div>



</div><div><br></div><div>Suspecting of some timezone issues. My default timezone is America/Sao_Paulo.</div><div><br></div><div>Second run:</div><div><br></div><div><div>$ mvn -Duser.timezone=CET clean install</div>

</div><div><br></div><div><div>Results :</div><div><br></div><div>Failed tests: </div><div>  MDCBasedDiscriminatorTest.nullMDC:75 expected:<{}> but was:<{compositeProperty=1763803913, max=1559727973, linger=session1424346104, userId=user3, propertyDefinedWithinSift=1694640543, localProperty=848086231}></div>



<div><br></div><div>Tests run: 417, Failures: 1, Errors: 0, Skipped: 16</div><div><br></div><div><br></div><div><br></div><div> I have attached the reported failures.</div></div><div><br></div><div>regards,</div>

<div><br></div><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><font size="1" face="verdana, sans-serif">-- <br style="color:rgb(136,136,136)"></font><div><font size="1" face="verdana, sans-serif">Leonardo S Souza<br>



Amtera Semantic Technologies<br>Rua da Quitanda, 194, sala 1201 - Centro<br>Rio de Janeiro - RJ - Brasil<br>Tel: + 55 21 2213 3220<br>Cel: + 55 21 9877 7081<br style="color:rgb(136,136,136)">

<a href="http://www.amtera.com.br/" style="color:rgb(17,85,204)" target="_blank">www.amtera.com.br</a></font></div></div>
<br><br><div class="gmail_quote">2013/6/16 David Roussel <span dir="ltr"><<a href="mailto:nabble@diroussel.xsmail.com" target="_blank">nabble@diroussel.xsmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word"><div>Leonardo,</div><div><br></div><div>I just tried a "mvm clean install" on:</div><div><br></div><div><div>commit 2a73e043e149693fcd0ad2f90b04702c2dba4851</div><div>Author: Ceki Gulcu <<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a>></div>



<div>Date:   Fri Jun 14 11:55:05 2013 +0200</div></div><div><br></div><div>It built successfully.  I was using Java 1.7.0_17.</div><div><br></div><div>What failed for you? </div><span><font color="#888888"><div>

<br></div><div>David</div></font></span><div><div><div><br></div><div><br></div><br><div><div>On 14 Jun 2013, at 17:49, Leonardo Souza <<a href="mailto:lsouza@amtera.com.br" target="_blank">lsouza@amtera.com.br</a>> wrote:</div>



<br><blockquote type="cite"><div dir="ltr">Hi,<div><br></div><div>Thanks for the quick reply. I have been busy so sorry for the late answer. The plan is to provide a patch for the DBAppender asap.</div><div><br></div><div>



I have cloned the repo and issued a mvn clean test, detected some test failures. </div>

<div>This is the trunk version (2.0.0-SNAPSHOT), but there's no snapshot version tag to fill a bug in Jira. </div><div>Can i fill the issue without an affected version?</div><div><br></div><div>

regards,</div></div><div class="gmail_extra"><br clear="all"><div><font size="1" face="verdana, sans-serif">-- <br style="color:rgb(136,136,136)"></font><div><font size="1" face="verdana, sans-serif">Leonardo S Souza<br>





Amtera Semantic Technologies<br>Rua da Quitanda, 194, sala 1201 - Centro<br>Rio de Janeiro - RJ - Brasil<br>Tel: + 55 21 2213 3220<br>Cel: + 55 21 9877 7081<br style="color:rgb(136,136,136)">

<a href="http://www.amtera.com.br/" style="color:rgb(17,85,204)" target="_blank">www.amtera.com.br</a></font></div></div>
<br><br><div class="gmail_quote">2013/5/31 ceki <span dir="ltr"><<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<br>
Hi Leonardo,<br>
<br>
Marker information should be part of the data written into the DB. Please create a jira issue for this bug. Better yet, provide a patch to DBAppender by way of a github pull request.<br>
<br>
Best regards,<div><br>
<br>
On 31.05.2013 03:34, Leonardo Souza wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
We have a system with a lot of log statements using markers,<br>
<br>
   <a href="http://this.logger.info/" target="_blank">this.logger.info</a>(this.marker, "ex fvmo dare lvcem");<br>
<br>
We are planning to store the logs in a database using DBAppender but<br>
ther marker do not have a column, only appears in the<br>
formatted_message field. We will query this database filtering by the<br>
markers, a sql like query is not a desirable solution.<br>
<br>
Anyone has a better idea instead of creating a custom appender?<br>
<br>
thanks ..<br>
<br>
--<br>
Leonardo S Souza<br>
</blockquote>
<br>
<br></div><span><font color="#888888">
-- <br>
Ceki<br>
65% of statistics are made up on the spot<br>
______________________________<u></u>_________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch" target="_blank">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/<u></u>listinfo/logback-user</a><br>
</font></span></blockquote></div><br></div>
_______________________________________________<br>Logback-user mailing list<br><a href="mailto:Logback-user@qos.ch" target="_blank">Logback-user@qos.ch</a><br><a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a></blockquote>



</div><br></div></div></div><br>_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch" target="_blank">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br></blockquote></div><br></div>
</div></div><span><ch.qos.logback.classic.sift.MDCBasedDiscriminatorTest.txt></span><span><ch.qos.logback.core.rolling.helper.RollingCalendarTest.txt></span><span><ch.qos.logback.core.util.TimeUtilTest.txt></span>_______________________________________________<div class="im">

<br>Logback-user mailing list<br><a href="mailto:Logback-user@qos.ch" target="_blank">Logback-user@qos.ch</a><br><a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a></div>

</blockquote></div><br></div><br>_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br></blockquote></div><br></div>