From 54147d2ec936a8bc97f8f16c0d474d7d0e57cc74 Mon Sep 17 00:00:00 2001 From: Fate Date: Sun, 13 Sep 2009 19:56:26 +0000 Subject: Use gzip --rsyncable to compress map server logs to update the log file more frequently --- src/map/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/map.c b/src/map/map.c index 98be77b..b2b9984 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -1668,7 +1668,7 @@ static void map_setlogfile(const char *filename) { char *filename_buf = malloc(strlen (filename) + 50); - sprintf(filename_buf, "gzip -c > %s", filename); + sprintf(filename_buf, "gzip --rsyncable -c > %s", filename); map_logfile = popen(filename_buf, "w"); if (!map_logfile) perror(filename); -- cgit v1.2.3-70-g09d2