You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm just poking around Hacktoberfest-tagged repos, so I'm not familiar enough with your codebase to diagnose, but I thought I should mention that the parent class, Twisted's logfile, the default rotateLength is 1M. That seems like a pretty big coincidence, and it looks like you're overriding the rotation logic, so I'd look in there.
@aceamro I can't reproduce the None being echoed to the server log, but after analyzing this, the example here is not representable. The reason is that if you add 1MB of data 'externally' (by adding lines of text to the log file manually), it will not be counted by the logger - it counts by simply adding to a number when you write, so it can't know about the externally added file size.
Whenever you reload the server, it reads the file size and at that point it rotates the log file correctly (for me). So at this point I can't reproduce any issue here, and the way to reproduce is not representative of actual functionality. Closing this, we can open again if it shown that this appears in actual normal usage.
@ChanceNCounter Thanks for the input - yes, if there is an issue, it's very likely to be related to the log-rotation. But as seen above, at least at this time the issue is not reproducible.
Describe the bug
If the channel capacity exceeds 1M, it is not recorded.
To Reproduce
Steps to reproduce the behavior:
Environment, Evennia version, OS etc
The text was updated successfully, but these errors were encountered: