[Pkg-matrix-maintainers] Bug#927057: 1Gb of logs is too much

Antoine Beaupré anarcat at debian.org
Sat Apr 27 17:40:16 BST 2019


Control: blocks -1 by 928081

On 2019-04-27 12:09:19, Antoine Beaupré wrote:
> On 2019-04-24 16:23:15, Willem Mulder wrote:
>> On Wed, 24 Apr 2019 01:03:35 +0000 Linda Lapinlampi <linda at lindalap.fi>
>> wrote:
>>> I also agree the logs should be compressed on daily rotation, but it
>>> remains unclear to me how one would change this in Synapse without big
>>> hacky behaviors. Preferably I'd use logrotate(8) if at all possible.
>>>
>>> This might be helpful:
>>> https://docs.python.org/3/library/logging.handlers.html
>>>
>>> So maybe change logging.handlers.RotatingFileHandler in debian/log.yaml
>>> to WatchFileHandler (use with logrotate(8)) if I've understood
>>> correctly. TimedRotatingFileHandler is an alternative to let Python
>> manage log
>>> rotation by itself, but no logs will be compressed then.
>>
>> On my personal setup, I have the following changes to log.yaml:
>
> [...]
>
> I believe the attached debdiff fixes this problem.

I have filed unblock request # for this and submitted this as a MR here
as well:

https://salsa.debian.org/matrix-team/matrix-synapse/merge_requests/1

I have proposed the update to the release team as well, in the bug
that I marked as blocking to this bug.

A.

-- 
The ultimate test of your knowledge is your capacity to convey it to
another.
                        - Richard Feynman



More information about the Pkg-matrix-maintainers mailing list