aboutsummaryrefslogtreecommitdiff
path: root/setup/windows
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-07-30 20:42:02 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-07-30 20:42:02 +1200
commit110c49504f87c025423c923500bd52ea4615b33b (patch)
tree2398fd3fa3286b35b6f80cad51b59703d3065b6e /setup/windows
parent5f75f109dfc1140d2f644857d877baf88cb1fe83 (diff)
downloadtraccar-server-110c49504f87c025423c923500bd52ea4615b33b.tar.gz
traccar-server-110c49504f87c025423c923500bd52ea4615b33b.tar.bz2
traccar-server-110c49504f87c025423c923500bd52ea4615b33b.zip
Improve logging system (fix #278)
Diffstat (limited to 'setup/windows')
-rw-r--r--setup/windows/traccar.iss1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup/windows/traccar.iss b/setup/windows/traccar.iss
index bd69352db..262a8e51e 100644
--- a/setup/windows/traccar.iss
+++ b/setup/windows/traccar.iss
@@ -56,6 +56,7 @@ begin
StringChangeEx(S, '@app.name@', 'Traccar', true);
StringChangeEx(S, '@app.long.name@', 'Traccar', true);
StringChangeEx(S, '@app.description@', 'Traccar', true);
+ StringChangeEx(S, 'wrapper.logfile=../logs/wrapper.log', 'wrapper.logfile=../logs/wrapper.log.YYYYMMDD' + #13#10 + 'wrapper.logfile.rollmode=DATE', true);
SaveStringToFile(ExpandConstant(CurrentFileName), S, false);
end;