github.com/phobos182/packer@v0.2.3-0.20130819023704-c84d2aeffc68/website/source/docs/other/debugging.html.markdown (about)

     1  ---
     2  layout: "docs"
     3  ---
     4  
     5  # Debugging Packer
     6  
     7  Packer strives to be stable and bug-free, but issues inevitably arise where
     8  certain things may not work entirely correctly, or may not appear to work
     9  correctly. In these cases, it is sometimes helpful to see more details about
    10  what Packer is actually doing.
    11  
    12  Packer has detailed logs which can be enabled by setting the `PACKER_LOG`
    13  environmental variable to any value. This will cause detailed logs to appear
    14  on stderr. The logs contain log messages from Packer as well as any plugins
    15  that are being used. Log messages from plugins are prefixed by their application
    16  name.
    17  
    18  Note that because Packer is highly parallelized, log messages sometimes
    19  appear out of order, especially with respect to plugins. In this case,
    20  it is important to pay attention to the timestamp of the log messages
    21  to determine order.
    22  
    23  In addition to simply enabling the log, you can set `PACKER_LOG_PATH` in order
    24  to force the log to always go to a specific file when logging is enabled.
    25  Note that even when `PACKER_LOG_PATH` is set, `PACKER_LOG` must be set in
    26  order for any logging to be enabled.
    27  
    28  If you find a bug with Packer, please include the detailed log by using
    29  a service such as [gist](http://gist.github.com).