I am huddled by the logging (to console mainly) of exceptions thrown or caused by entity beans. The exceptions are caused by the test-suite I ran everytime I add any code. I would like to switch the logging off for the particular beans.
Sample:
17:36:35,265 ERROR [Zone] Could not create entity
java.sql.SQLException: Invalid argument value, message from server: "Duplicate entry....
Q: What do I have to do?
Thanks,
Martin
PS: Can someone explain me how to use the forum search in a boolean fashion. (I tried to search for logging and exception, I got 404 results -> crazy)
In your log4j.xml configuration file, add somewhere in :