JBSEAM-5128 added warning for incorrectly used logging messages.