Could someone give me a concise pointer to figuring out exactly how logging
would work in unit tests built like the Struts tags unit tests?  I'm using
"LogFactory" to get a "Log" and calling "log.debug(...)", but I realize that
I'm unsure how I actually turn on logging, or control it (outside of code).
Does "LogFactory" and "Log" have anything to do with the "<Logger>" element
defined in the "conf/test/server.xml" file?  I was hoping to use the
"SystemOutLogger" class, so I could just see debugging output on stdout.  I
added a "<Logger>" element specifying this class (with a "verbosity" of "4"),
in ADDITION to the "FileLogger".  The result was that I saw lots more
information coming to stdout, but not my "log.debug(...)" lines.

-- 
===================================================================
David M. Karr          ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to