factory_test_init: move console log to /tmp
The console log is simply a dupe of /var/log/factory.log to be displayed in
factory UI, so we should not put it in /var/log.
This speeds autotest startup time and reduce /var/log disk usage.
BUG=none
TEST=(run factory test) seeing console messages correctly
Change-Id: I8461688bc2b19bc8d0ab0ca815890b2ea89fec2c
[email protected]
Review URL: http://codereview.chromium.org/6880310
diff --git a/factory.conf b/factory.conf
index b7905ac..e3c7e3e 100644
--- a/factory.conf
+++ b/factory.conf
@@ -21,7 +21,7 @@
OPT="-c"
fi
FACTORY_LOG_FILE=/var/log/factory.log
- CONSOLE_LOG_FILE=/var/log/factory_console.log
+ CONSOLE_LOG_FILE=/tmp/factory_console.log
# Factory log will be uploaded so we must always preserve previous results.
# Console log is just for UI to display, no need to be saved across sessions;
# however in order to support writing by multiple processes, the file must be