granier
granier

Reputation: 1789

how to log process md files with junit?

I work on a project using concordion, maven and junit. There are a lot's of md files which are processed but the logs do not contain the name of the processed md file. So it is hard to link logs lines to executed tests.

How is it possible to log the name of processed md file ?

Upvotes: 0

Views: 78

Answers (1)

Nigel Charman
Nigel Charman

Reputation: 753

Assuming you want the details logged in the output specification, take a look at the echo command (or the embed extension if you want to alter the HTML formatting).

If you just want it logged to a log file, you'll need to look at a logging framework (eg. slf4j/logback). The logback extension can make the log accessible from the concordion output specification.

Upvotes: 0

Related Questions