move default rocksdb logging from info to warn

info is still logging useless database statistics and metrics that will
accumulate, less I/O activity.

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2023-12-24 00:29:39 -05:00 committed by June
parent b7cfca5e7b
commit 5e641e2886
2 changed files with 2 additions and 2 deletions

View file

@ -383,7 +383,7 @@ fn default_presence_offline_timeout_s() -> u64 {
}
fn default_rocksdb_log_level() -> String {
"info".to_owned()
"warn".to_owned()
}
fn default_rocksdb_log_time_to_roll() -> usize {

View file

@ -42,7 +42,7 @@ fn db_options(rocksdb_cache: &rocksdb::Cache, config: &Config) -> rocksdb::Optio
"warn" => Warn,
"error" => Error,
"fatal" => Fatal,
_ => Info,
_ => Warn,
};
db_opts.set_log_level(rocksdb_log_level);