MantisBT - Zandronum
View Issue Details
0001280Zandronum[All Projects] Suggestionpublic2013-02-16 20:562017-08-10 14:55
0001280: Squelch "X entries loaded" message.
Automatically loading banfiles and whitelists every 60 seconds leads to gigantic logfiles. My Duel32 logfile that dates back a few years is now 229 megabytes, and 95% of it is the same repetition of the "X entries loaded" message.

It would be nice to have an option to squelch this message.
No tags attached.
Issue History
2013-02-16 20:56AlexMaxNew Issue
2013-02-16 21:12WatermelonNote Added: 0006029
2013-02-16 21:31AlexMaxNote Added: 0006030
2013-02-17 09:03Torr SamahoNote Added: 0006040
2013-02-17 09:05Torr SamahoNote Edited: 0006040
2013-02-17 09:05Torr SamahoNote Edited: 0006040bug_revision_view_page.php?bugnote_id=6040#r3334
2013-02-17 09:05Torr SamahoNote Revision Dropped: 6040: 0003333
2013-02-17 09:06Torr SamahoNote Revision Dropped: 6040: 0003332
2013-02-17 16:53ZzZomboNote Added: 0006045
2013-02-17 17:00AlexMaxNote Added: 0006046
2013-02-17 17:04DuskNote Added: 0006047
2014-06-13 17:44WatermelonStatusnew => acknowledged
2014-06-13 21:17DuskNote Added: 0009265
2017-08-10 14:55DuskNote Added: 0018155
2017-08-10 14:55DuskFixed in Version => 3.1

2013-02-16 21:12   
Could we add sv_disablebannotification?
2013-02-16 21:31   
For what it's worth, culling all of the banlist/whitelist notifications in my duel32 logfile with a sed script brought down the size from 229 megs to 150.
Torr Samaho   
2013-02-17 09:03   
(edited on: 2013-02-17 09:05)
Of course I can easily silence this. What should the option be called? I think we should only have one option for kinds of lists (banlist, whitelist, adminlist), so we need a neutral name, e.g. sv_quietplistparsing or something like this.

2013-02-17 16:53   
2013-02-17 17:00   
The existing "read files on a timer" cvar is sv_banfilereparsetime, so sv_banfilequietparse fits into that.

However, something that would actually be even handier would be if it still wrote to the log, but only if the number of entries in the ban/white/admin lists changed. If this would be a simple addition, please do it, otherwise simply quieting it completely would be fine.
2013-02-17 17:04   
I'd rather call it "sv_quietbanfileparse" to keep it more consistent.
2014-06-13 21:17   
Coming to think about this again, the entire message could just be gotten rid of IMO.
2017-08-10 14:55   
Okay so note to self:
- implement an "inotify"-based system to find out when the files are changed and only reload when appropriate
- a Windows-implementation should not be so important because dedicated servers which would be interested in immediate banlist reparsing should run Linux.
- the message should be changed to only report when the file is read in and changes were found. Will need to try come up with some rewording.