By default, the output of Android's Log class is swallowed when tests are run by Robolectric. This can be avoided by setting the robolectric.logging system property. The following alternatives are available:
- A path to a custom log file
The last option is especially useful for retaining log files, e.g. by dynamically constructing the file name from test name, date, etc.