mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-29 11:10:40 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user