logging changed to spdlog

This commit is contained in:
d1str4ught
2025-09-22 04:14:59 +02:00
parent 37b15a7a98
commit 4f75aa1acd
201 changed files with 33830 additions and 637 deletions

View File

@@ -533,14 +533,6 @@ void config_init(const string& st_localeServiceName)
continue;
}
TOKEN("log_keep_days")
{
int i = 0;
str_to_number(i, value_string);
log_set_expiration_days(MINMAX(1, i, 90));
continue;
}
TOKEN("passes_per_sec")
{
str_to_number(passes_per_sec, value_string);
@@ -1041,10 +1033,6 @@ void config_init(const string& st_localeServiceName)
}
// END_SKILL_POWER_BY_LEVEL
// LOG_KEEP_DAYS_EXTEND
log_set_expiration_days(2);
// END_OF_LOG_KEEP_DAYS_EXTEND
while (fgets(buf, 256, fp))
{
parse_token(buf, token_string, value_string);