Skip to content

Commit

Permalink
[Config]: if a coloumn family is already present, change log message …
Browse files Browse the repository at this point in the history
…level to info from warning

As part of daemon intialization, column families gets created and if they are already
present, then column families gets altered and warning message gets logged in.

This is not either a warning or a error, hence changed this to Info level message.

Change-Id: Idbcc9679a61219a02a05d415ae149eb812599961
Closes-Bug: #1480011
  • Loading branch information
sbalineni committed Jul 29, 2016
1 parent 72b715b commit d4fb54c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/common/vnc_cassandra.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ def _cassandra_ensure_keyspace(self, keyspace_name, cf_info_list):
default_validation_class='UTF8Type')
except pycassa.cassandra.ttypes.InvalidRequestException as e:
# TODO verify only EEXISTS
self._logger("Warning! " + str(e), level=SandeshLevel.SYS_WARN)
self._logger("Info! " + str(e), level=SandeshLevel.SYS_INFO)
self.sys_mgr.alter_column_family(keyspace_name, cf_name,
gc_grace_seconds=gc_grace_sec,
default_validation_class='UTF8Type')
Expand Down

0 comments on commit d4fb54c

Please sign in to comment.