diff options
-rw-r--r-- | sos/sosreport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/sosreport.py b/sos/sosreport.py index 6470b93c..0d87ba95 100644 --- a/sos/sosreport.py +++ b/sos/sosreport.py @@ -979,7 +979,7 @@ class SoSReport(object): logpath = os.path.join(self.logdir, plugin_err_log) self.soslog.error('%s "%s.%s()"' % (msg, plugin, method)) self.soslog.error('writing traceback to %s' % logpath) - self.archive.add_string("%s\n" % trace, logpath) + self.archive.add_string("%s\n" % trace, logpath, mode='a') def prework(self): self.policy.pre_work() |