Merge pull request #632 from YunoHost/1280-do-not-log-migration-in-tmp

[fix] Do not log migration to stretch in /tmp/. Issue #1280
This commit is contained in:
Alexandre Aubin 2019-01-28 14:35:53 +01:00 committed by GitHub
commit 5817d804a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ class MyMigration(Migration):
def migrate(self): def migrate(self):
self.logfile = "/tmp/{}.log".format(self.name) self.logfile = "/var/log/yunohost/{}.log".format(self.name)
self.check_assertions() self.check_assertions()