2017 bis heute 2016 2015 2014 | 2013 | 2012 | 2011 2010 2009 | 2008 | 2007

(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)

Mailingliste - Einträge 2008

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] How to log plugins output to separate file ?

  • Subject: Re: [QF-Test] How to log plugins output to separate file ?
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 24 Apr 2008 15:30:08 +0200

Hello Thomas,

I don't see any reason why QF-Test would interfere with your log4j
logging (QF-Test doesn't use log4j itself). The only output that is
redirected to QF-Test's terminal is that from the standard output and
error streams of the SUT's Java VM (System.out and System.err) and
that only if that output is not redirected.

So just use the log4j API in any way you see fit. If it works outside
QF-Test it should work identically when running under QF-Test.

Second thought upon re-reading your mail: If you use that log4j
logging only within your tests, not in the application itself, the
same applies. log4j has an API that allows redirecting its output to
wherever you want. Just do it :-)

Best regards,

"BREINING, Thomas (GE Healthcare)" <Thomas.BREINING@?.com> writes:

> Hello,
> I would like to know if it is possible to log the output of custom .jar plug-in libraries into different files than the QFTest run log or terminal ?
> Precisely ;
> I use .jar packaged java classes in my tests. These classes use a log4j common logger and I would like it to output to a single separate file
> without having to monitor it in QFTest terminal and then save it.
> Is there a way for QFTest to allow such a logger to output a trace directly into a separate text file ?
> Thanks in advance,
> Thomas.

Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833