IDEMPIERE-5737 - Change Report's "No Rows" log level (#1855)

This commit is contained in:
Peter Takács 2023-05-25 16:35:06 +02:00 committed by GitHub
parent 3fa63cf37e
commit 1ff182e605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1271,10 +1271,10 @@ public class DataEngine
if (pd.getRowCount() == 0)
{
if (CLogMgt.isLevelFiner())
log.warning("NO Rows - ms=" + (System.currentTimeMillis()-m_startTime)
log.finer("NO Rows - ms=" + (System.currentTimeMillis()-m_startTime)
+ " - " + pd.getSQL());
else
log.warning("NO Rows - ms=" + (System.currentTimeMillis()-m_startTime));
log.info("NO Rows - ms=" + (System.currentTimeMillis()-m_startTime));
}
else
if (log.isLoggable(Level.INFO)) log.info("Rows=" + pd.getRowCount()