db: Move "Populating Keyspace ..." message from WARN to INFO level

WARN level is for messages which should draw log reader's attention,
journalctl highlights them for example. Populating of keyspace is a
fairly normal thing, so it should be logged on lower level.
This commit is contained in:
Tomasz Grabiec
2015-09-23 13:17:46 +02:00
parent b3b6fc2f39
commit d033cdcefe

View File

@@ -811,7 +811,7 @@ future<> database::populate_keyspace(sstring datadir, sstring ks_name) {
if (i == _keyspaces.end()) {
dblog.warn("Skipping undefined keyspace: {}", ks_name);
} else {
dblog.warn("Populating Keyspace {}", ks_name);
dblog.info("Populating Keyspace {}", ks_name);
return lister::scan_dir(ksdir, directory_entry_type::directory, [this, ksdir, ks_name] (directory_entry de) {
auto comps = parse_fname(de.name);
if (comps.size() < 2) {