From: Serge Hallyn Date: Thu, 12 Sep 2013 16:17:11 +0000 (-0500) Subject: ignore ability to init /lxc-monitord.log X-Git-Tag: lxc-1.0.0.alpha2~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b336d7246a324e8973bc449cb35db40b1627be47;p=thirdparty%2Flxc.git ignore ability to init /lxc-monitord.log We may long-term want to instead decide on a convention under /var/log, but for now just ignore it. This will only happen if lxcpath is read-only. Signed-off-by: Serge Hallyn --- diff --git a/src/lxc/lxc_monitord.c b/src/lxc/lxc_monitord.c index fda6cf4b5..404934588 100644 --- a/src/lxc/lxc_monitord.c +++ b/src/lxc/lxc_monitord.c @@ -342,7 +342,7 @@ int main(int argc, char *argv[]) ret = lxc_log_init(NULL, logpath, "NOTICE", "lxc-monitord", 0, lxcpath); if (ret) - return ret; + INFO("Failed to open log file %s, log will be lost", lxcpath); pipefd = atoi(argv[2]);