Hi Dishara,
On Tue, Jul 16, 2013 at 9:58 AM, Dishara Wijewardana
<[email protected]> wrote:
> https://cassandra-backend-for-sling.googlecode.com/svn/trunk/main/cassandra/src/test/java/org/apache/sling/cassandra/test/data/populator/CassandraDataPopulatorTest.java
I had a quick look at your code, here's some comments on logging:
Instead of log.error("Error at Provider "+e.getMessage()); you should
use log.error(String msg, Exception e) as the logger can then give
more detailed info.
You shouldn't use System.err or System.out, everything should to to the log.
I understand your code is a work in progress - just wanted to provide
that info early so you can adjust as you go.
HTH,
-Bertrand