Avoid excessive ovsdb log statements 70/87370/2
authorChetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
Mon, 3 Feb 2020 08:31:11 +0000 (14:01 +0530)
committerChetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
Mon, 22 Jun 2020 07:24:54 +0000 (07:24 +0000)
Signed-off-by: Chetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
Change-Id: Ifd12522cc4891fb01cde5cb2de5b5333e690f841

southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/OvsdbConnectionInstance.java
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/ovsdb/transact/TerminationPointUpdateCommand.java

index 59445bb65db76ec2f896595b3bb7f5aa5600d783..ff8222c14d8f12744c9d213c7b7d5357e17b0b7b 100644 (file)
@@ -196,13 +196,13 @@ public class OvsdbConnectionInstance {
             List<MonitorRequest> monitorRequests = new ArrayList<>();
             for (String tableName : tables) {
                 if (!SouthboundConstants.SKIP_OVSDB_TABLE.contains(tableName)) {
-                    LOG.info("Southbound monitoring OVSDB schema table {}", tableName);
+                    LOG.trace("Southbound monitoring OVSDB schema table {}", tableName);
                     GenericTableSchema tableSchema = dbSchema.table(tableName, GenericTableSchema.class);
                     // We copy the columns so we can clean the set up later
                     Set<String> columns = new HashSet<>(tableSchema.getColumns());
                     List<String> skipColumns = SouthboundConstants.SKIP_COLUMN_FROM_TABLE.get(tableName);
                     if (skipColumns != null) {
-                        LOG.info("Southbound NOT monitoring columns {} in table {}", skipColumns, tableName);
+                        LOG.trace("Southbound NOT monitoring columns {} in table {}", skipColumns, tableName);
                         columns.removeAll(skipColumns);
                     }
                     monitorRequests.add(new MonitorRequestBuilder<>(tableSchema)
index ada83a02243db759926f25f395e298013fe266c6..2e4a1689a1a36eb470bda51306264010bcfcf1dc 100644 (file)
@@ -127,7 +127,7 @@ public class TerminationPointUpdateCommand implements TransactCommand {
                     transaction.add(op.update(port)
                         .where(extraPort.getNameColumn().getSchema().opEqual(terminationPoint.getName()))
                         .build());
-                    LOG.info("Updated Termination Point : {}  with Uuid : {}",
+                    LOG.debug("Updated Termination Point : {}  with Uuid : {}",
                         terminationPoint.getName(), terminationPoint.getPortUuid());
                 }
             } else {