Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Log Collector

Marián Labuda edited this page Sep 12, 2016 · 1 revision

What is RedDeer LogCollector?

When you run your tests there could occur some events logged in Error log. Those data are also stored in workspace directory in file ~/workspace/.metadata/.log. Usually user would have to collect some error manually at every tests, or at least there would have to be some hooking.

Where I can find output from log collector and how does the log file look like?

Log collector stores log entries to files located at folder target/reddeer-log. Each test class has its own file with config prefix and date suffix. Log collector collects log entries at the very start of test class execution as first BeforeClass extension, then for each test method (from Before extensions to After extensions) and in the end of test class execution as last AfterClass extension.

How can I enable log collector?

Log collector is enabled by default. You can turn it on/off by setting property rd.logCollectorEnabled to true or false.

Clone this wiki locally