From 0d7102445007cb5c34d9f5adf525bfd76057290d Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 14 Jul 2013 11:20:31 +0900 Subject: [PATCH] website: add PACKER_LOG_PATH docs --- website/source/docs/other/debugging.html.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/source/docs/other/debugging.html.markdown b/website/source/docs/other/debugging.html.markdown index 70b50750d..9513e463c 100644 --- a/website/source/docs/other/debugging.html.markdown +++ b/website/source/docs/other/debugging.html.markdown @@ -20,5 +20,10 @@ appear out of order, especially with respect to plugins. In this case, it is important to pay attention to the timestamp of the log messages to determine order. +In addition to simply enabling the log, you can set `PACKER_LOG_PATH` in order +to force the log to always go to a specific file when logging is enabled. +Note that even when `PACKER_LOG_PATH` is set, `PACKER_LOG` must be set in +order for any logging to be enabled. + If you find a bug with Packer, please include the detailed log by using a service such as [gist](http://gist.github.com).