iptables: log to /var/log/... rather than /var/run/log

Signed-off-by: David Scott <dave.scott@docker.com>
This commit is contained in:
David Scott 2016-06-17 17:25:57 +01:00
parent 55a2becfb4
commit 17d110d770

View File

@ -16,7 +16,7 @@ type port = {
port: string; (* container port *)
}
let log_fd = Unix.openfile "/var/run/log/service-port-opener.log" [ Unix.O_WRONLY; Unix.O_APPEND; Unix.O_CREAT ] 0o0644
let log_fd = Unix.openfile "/var/log/service-port-opener.log" [ Unix.O_WRONLY; Unix.O_APPEND; Unix.O_CREAT ] 0o0644
let logf fmt =
Printf.ksprintf (fun s ->