From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/vagrant/other%2Fdebugging.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 devdocs/vagrant/other%2Fdebugging.html (limited to 'devdocs/vagrant/other%2Fdebugging.html') diff --git a/devdocs/vagrant/other%2Fdebugging.html b/devdocs/vagrant/other%2Fdebugging.html new file mode 100644 index 00000000..a8e6eb8a --- /dev/null +++ b/devdocs/vagrant/other%2Fdebugging.html @@ -0,0 +1,16 @@ +

Debugging

As much as we try to keep Vagrant stable and bug free, it is inevitable that issues will arise and Vagrant will behave in unexpected ways.

When using these support channels, it is generally helpful to include debugging logs along with any error reports. These logs can often help you troubleshoot any problems you may be having.

To enable detailed logging, set the VAGRANT_LOG environmental variable to the desired log level name, which is one of debug (loud), info (normal), warn (quiet), and error (very quiet). When asking for support, please set this to debug. When troubleshooting your own issues, you should start with info, which is much quieter, but contains important information about the behavior of Vagrant.

On Linux and Mac systems, this can be done by prepending the vagrant command with an environmental variable declaration:

$ VAGRANT_LOG=info vagrant up
+
+

On Windows, multiple steps are required:

$ set VAGRANT_LOG=info
+$ vagrant up
+
+

You can also get the debug level output using the --debug command line option. For example:

$ vagrant up --debug
+
+

On Linux and Mac, if you are saving the output to a file, you may need to redirect stderr and stdout using &>:

$ vagrant up --debug &> vagrant.log
+
+

On Windows in PowerShell (outputs to log and screen):

$ vagrant up --debug 2>&1 | Tee-Object -FilePath ".\vagrant.log"
+
+

+ © 2010–2018 Mitchell Hashimoto
Licensed under the MPL 2.0 License.
+ https://www.vagrantup.com/docs/other/debugging.html +

+
-- cgit v1.2.3