CAY-1840 Conditionally log slow / long-running queries

splitting special logging from regular logging...
otherwise we are checking Threshold twice if INFO loghing is off

git-svn-id: https://svn.apache.org/repos/asf/cayenne/main/trunk@1507815 13f79535-47bb-0310-9956-ffa450edef68