summaryrefslogtreecommitdiff
path: root/obbench
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-07-19 14:19:11 +0300
committerLars Wirzenius <liw@liw.fi>2015-07-19 14:19:11 +0300
commita9cedf7475975d4efbb52533207fc9ea44c3fa7a (patch)
tree7ed51021423252392adebb80cf43c75d09f3b20f /obbench
parent0e13497c9cd05e19666af54047c125cf1142b242 (diff)
downloadobnam-benchmarks-a9cedf7475975d4efbb52533207fc9ea44c3fa7a.tar.gz
Configure Obnam to write a log file
Diffstat (limited to 'obbench')
-rwxr-xr-xobbench1
1 files changed, 1 insertions, 0 deletions
diff --git a/obbench b/obbench
index 1c802e9..1c0f3bd 100755
--- a/obbench
+++ b/obbench
@@ -114,6 +114,7 @@ class ObnamBenchmarker(cliapp.Application):
f.write('[config]\n')
f.write('repository = %s\n' % os.path.join(tempdir, 'repo'))
f.write('root = %s\n' % self.get_live_data(tempdir))
+ f.write('log = %s\n' % os.path.join(tempdir, 'obnam.log'))
for key, value in spec.get('obnam_config', {}).items():
f.write('%s = %s\n' % (key, value))
for key, value in benchmark.get('obnam_config', {}).items():