* [PATCH 1/2] yocto-start-autobuilder: Make sure janitor logging goes to a log file
@ 2014-03-19 14:03 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2014-03-19 14:03 UTC (permalink / raw)
To: yocto, Burton Ross, Flanagan, Elizabeth
Currently logging from the janitor gets lost. Ensure it gets to a log
file instead including anything to stderr.
---
yocto-start-autobuilder | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/yocto-start-autobuilder b/yocto-start-autobuilder
index b34a60d..74e3a13 100755
--- a/yocto-start-autobuilder
+++ b/yocto-start-autobuilder
@@ -79,7 +79,7 @@ if os.path.isfile(os.path.join(AB_BASE, ".setupdone")):
os.chdir(AB_BASE)
if os.environ["OPTIMIZED_GIT_CLONE"] == "True":
os.chdir(AB_BASE)
- subprocess.Popen("python bin/buildslave-janitor " + os.path.join(AB_BASE, "config/autobuilder.conf"),
+ subprocess.Popen("python bin/buildslave-janitor " + os.path.join(AB_BASE, "config/autobuilder.conf") + ">> yocto-slave/janitor.log 2>&1",
shell=True, stdin=None,
stdout=None, stderr=None,
close_fds=True)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-03-19 14:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-19 14:03 [PATCH 1/2] yocto-start-autobuilder: Make sure janitor logging goes to a log file Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.