Debugging

Debugging #

To debug any of the OMGD commands, you’ll need to setup an environment flag.

OMGD_LOG_LEVEL can be set to DEBUG or TRACE for more verbose output of any omgd commands that have been run.

In Windows, to setup an environment variable for one command, try set OMGD_LOG_LEVEL=DEBUG & omgd ... & set OMGD_LOG_LEVEL=. This will set the log level and then unset it afterwards.

In MacOS / Unix, try OMGD_LOG_LEVEL=DEBUG omgd ....

All OMGD_LOG_LEVEL Values #

OMGD_LOG_LEVELIntent
TRACEThe highest level of debugging. Will output as much information as possible.
DEBUGWill output information for debugging, as well as output from docker, terraform, and other interdependent CLI commands.
INFOThe default log level. Outputs basic information on commands.
WARNWill only output warnings.
ERRORWill only output error information.
FATALWill only provide output on fatal program exits.