You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Andrew Hughes <ah...@gmail.com> on 2011/05/05 03:23:09 UTC

Surefire, TestNG + Logging write where???

Hi All,

I'm using a combination of commons-logging and log4j, but this could really
be anything (java.util.logging + slf4j)....

But I am unable to see ANY logs. Nothing in the maven console output and
nothing in the TestNG report(s). I've grep'd, nothing, nowhere. This is
making life very difficult as I have no visibility of what may have occurred
as the test executed. I can't believe this is something new, I suspect I am
missing something fairly simple.

Help would be great, thanks in advance!
--AH

Re: Surefire, TestNG + Logging write where???

Posted by Jeff Jensen <je...@upstairstechnology.com>.
This may be too obvious, but just in case: the SureFire output files
are usually in ${baseDir}/target/surefire-reports.


On Wed, May 4, 2011 at 8:55 PM, Andrew Hughes <ah...@gmail.com> wrote:
> Update, I got standard out to console. But this is still not what I really
> want, I would like the logging captured in the TestNG reports of possible?
>
>
> On Thu, May 5, 2011 at 10:53 AM, Andrew Hughes <ah...@gmail.com> wrote:
>
>> Hi All,
>>
>> I'm using a combination of commons-logging and log4j, but this could really
>> be anything (java.util.logging + slf4j)....
>>
>> But I am unable to see ANY logs. Nothing in the maven console output and
>> nothing in the TestNG report(s). I've grep'd, nothing, nowhere. This is
>> making life very difficult as I have no visibility of what may have occurred
>> as the test executed. I can't believe this is something new, I suspect I am
>> missing something fairly simple.
>>
>> Help would be great, thanks in advance!
>> --AH
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Surefire, TestNG + Logging write where???

Posted by Andrew Hughes <ah...@gmail.com>.
Update, I got standard out to console. But this is still not what I really
want, I would like the logging captured in the TestNG reports of possible?


On Thu, May 5, 2011 at 10:53 AM, Andrew Hughes <ah...@gmail.com> wrote:

> Hi All,
>
> I'm using a combination of commons-logging and log4j, but this could really
> be anything (java.util.logging + slf4j)....
>
> But I am unable to see ANY logs. Nothing in the maven console output and
> nothing in the TestNG report(s). I've grep'd, nothing, nowhere. This is
> making life very difficult as I have no visibility of what may have occurred
> as the test executed. I can't believe this is something new, I suspect I am
> missing something fairly simple.
>
> Help would be great, thanks in advance!
> --AH
>