summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2021-01-05 07:09:15 -0600
committerGitHub <noreply@github.com>2021-01-05 13:09:15 +0000
commitc027a199f30d42bab13326728ba8010c6d0af028 (patch)
tree308cfa34941cc2c3771ead3e15a288a2ff190525
parentAdd type hints to the logging context code. (#8939) (diff)
downloadsynapse-c027a199f30d42bab13326728ba8010c6d0af028.tar.xz
Ignore date-rotated logs (#9018)
Ex.

 - homeserver.log.2020-12-29
 - homeserver.log.2020-12-31
-rw-r--r--.gitignore1
-rw-r--r--changelog.d/9018.misc1
2 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 9bb5bdd647..2bccf19997 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,6 +16,7 @@ _trial_temp*/
 # stuff that is likely to exist when you run a server locally
 /*.db
 /*.log
+/*.log.*
 /*.log.config
 /*.pid
 /.python-version
diff --git a/changelog.d/9018.misc b/changelog.d/9018.misc
new file mode 100644
index 0000000000..bb31eb4a46
--- /dev/null
+++ b/changelog.d/9018.misc
@@ -0,0 +1 @@
+Ignore date-rotated homeserver logs saved to disk.