jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject error messages in logs
Date Fri, 04 Feb 2005 13:54:46 GMT
Hi all,

after adding more api test cases to jackrabbit which test exception 
conditions on methods, I notices that error log messages are written in 
certain cases, even though the test succeeds. 
SaveTest.testConstraintViolationException is an example.

Reason is, that we sometimes log an error message before an exception is 
thrown. I suggest to lower the log level for such messages to at least 
warn or even info. Taking whatever action is needed should be the 
responsibility of the caller.



View raw message