Protect against appending recursion (In case your JMS provider appends to log4j in the process of sending a JMS message).