mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-26 04:03:11 +00:00
iptables: log to /var/log/... rather than /var/run/log
Signed-off-by: David Scott <dave.scott@docker.com>
This commit is contained in:
parent
55a2becfb4
commit
17d110d770
@ -16,7 +16,7 @@ type port = {
|
|||||||
port: string; (* container 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 =
|
let logf fmt =
|
||||||
Printf.ksprintf (fun s ->
|
Printf.ksprintf (fun s ->
|
||||||
|
Loading…
Reference in New Issue
Block a user