Skip to content

Commit

Permalink
Set appropriate log levels for some logs
Browse files Browse the repository at this point in the history
Some debug level logs are being logged as error and floods the log file.
Promptly demoting the log level from error to debug.

Change-Id: I82bb2630a6e300ddcd4541741fabc17d2b43cd33
Closes-Bug: #1769211
  • Loading branch information
Sundaresan Rajangam committed May 8, 2018
1 parent ab2c812 commit 6edaa55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contrail-opserver/opserver.py
Expand Up @@ -2057,9 +2057,8 @@ def dyn_list_http_get(self, tables):
if uve_type in UVE_MAP:
uve_tbl = UVE_MAP[uve_type]

self._logger.error("before res list is %s" %uve_type)
res_list = self.get_resource_list_from_uve_type(uve_type)
self._logger.error("res list is %s" %res_list)
self._logger.debug("resource list for %s is %s" %(uve_type, res_list))
req = bottle.request.query
try:
filters = OpServer._uve_filter_set(req)
Expand Down

0 comments on commit 6edaa55

Please sign in to comment.