Your message dated Sun, 28 Apr 2019 17:38:00 +0000
with message-id <[email protected]>
and subject line Re: Bug#928081: unblock: matrix-synapse/0.99.2-3.1
has caused the Debian Bug report #928081,
regarding unblock: matrix-synapse/0.99.2-3.1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
928081: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928081
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock

Please unblock package matrix-synapse

The package currently in buster generates gigabytes of logs which can
easily fill up disks on servers (RC bug #927057).

The following patch fixes the problem, and I can upload the fix
if this is approved.

unblock matrix-synapse/0.99.2-3.1

-- System Information:
Debian Release: 9.8
  APT prefers stable
  APT policy: (500, 'stable'), (1, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru matrix-synapse-0.99.2/debian/changelog 
matrix-synapse-0.99.2/debian/changelog
--- matrix-synapse-0.99.2/debian/changelog      2019-03-24 09:02:48.000000000 
-0400
+++ matrix-synapse-0.99.2/debian/changelog      2019-04-27 11:48:31.000000000 
-0400
@@ -1,3 +1,10 @@
+matrix-synapse (0.99.2-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * fix log rotation to be less verbose (Closes: #927057)
+
+ -- Antoine Beaupré <[email protected]>  Sat, 27 Apr 2019 11:48:31 -0400
+
 matrix-synapse (0.99.2-3) unstable; urgency=medium
 
   * Make the code querying the location of the key file actually work.
diff -Nru matrix-synapse-0.99.2/debian/log.yaml 
matrix-synapse-0.99.2/debian/log.yaml
--- matrix-synapse-0.99.2/debian/log.yaml       2019-03-24 09:02:48.000000000 
-0400
+++ matrix-synapse-0.99.2/debian/log.yaml       2019-04-27 11:48:31.000000000 
-0400
@@ -14,12 +14,12 @@
 
 handlers:
   file:
-    class: logging.handlers.RotatingFileHandler
+    class: logging.handlers.WatchedFileHandler
     formatter: precise
     filename: /var/log/matrix-synapse/homeserver.log
-    maxBytes: 104857600
-    backupCount: 10
     filters: [context]
+    level: DEBUG
+    encoding: utf8
   console:
     class: logging.StreamHandler
     formatter: precise
@@ -31,12 +31,18 @@
     SYSLOG_IDENTIFIER: synapse
 
 loggers:
+    twisted:
+        level: WARN
+
     synapse:
-        level: INFO
+        level: WARN
 
     synapse.storage.SQL:
         level: INFO
 
+    synapse.http.matrixfederationclient:
+        level: ERROR
+
 root:
     level: INFO
     handlers: [file, journal]
diff -Nru matrix-synapse-0.99.2/debian/matrix-synapse.logrotate 
matrix-synapse-0.99.2/debian/matrix-synapse.logrotate
--- matrix-synapse-0.99.2/debian/matrix-synapse.logrotate       1969-12-31 
19:00:00.000000000 -0500
+++ matrix-synapse-0.99.2/debian/matrix-synapse.logrotate       2019-04-27 
11:48:31.000000000 -0400
@@ -0,0 +1,8 @@
+/var/log/matrix-synapse/homeserver.log {
+    rotate 7
+    daily
+    missingok
+    notifempty
+    delaycompress
+    compress
+}

--- End Message ---
--- Begin Message ---
Niels Thykier:
> On Sat, 27 Apr 2019 12:30:03 -0400 Antoine Beaupre <[email protected]>
> wrote:
>> Package: release.debian.org
>> Severity: normal
>> User: [email protected]
>> Usertags: unblock
>>
>> Please unblock package matrix-synapse
>>
>> The package currently in buster generates gigabytes of logs which can
>> easily fill up disks on servers (RC bug #927057).
>>
>> The following patch fixes the problem, and I can upload the fix
>> if this is approved.
>>
>> unblock matrix-synapse/0.99.2-3.1
>>
>> [...]
> 
> Unblocked, thanks.
> ~Niels
> 

With -done this time.
~Niels

--- End Message ---

Reply via email to