Some log4j tips.
When developing test automation framework in java with TestNG and log4j, one can append log4j logs to the "Reporter output" section of TestNG html report and this post shows how to achieve that.