Logs and Output¶
Table of Contents
Introduction¶
Fuze creates several log files, as well as preserving the build log files.
Stdout Verbosity¶
Log file verbosity is fixed, but the verbosity of the standard out is controlled with the following switches:
No option specified: INFO level messages (which includes WARN and ERROR)
-v, --verbose
: DEBUG level statements are seen on stdout. All stdout from CBE is also to be shown on stdout.-t, --terse
: INFO level for fuze operations, warning/error level for the build itself, FuzeID is shown-q, --quiet
: WARNING/ERROR level statements for both fuze and CBE only, FuzeID is shown
What Log Files are Created?¶
Fuze creates or preserves the following log files.
Fuze Log¶
A capture of the Fuze stdout with with log level = INFO. This log will contain INFO, WARN, and ERROR messages. This is the log file that you can use to see the following:
Which targets were built
Which targets were packaged
Dependencies that were used
Build commands that executed
Post actions that executed
Location and names of built packages
Location of FTL
Statistics
FuzeID
This log filename is: fuze.log
Build Logs¶
A log file is created for each build target with a capture of the CBE stdout during the build execution. This is the stdout that you would see if you called the build commands from your local shell.
These log filenames are: <build_target>-log.txt
If your “build_commands” section contains a “common” section, then you will also have a log file named common-log.txt
.
Note
build log verbosity
The verbosity of the build logs are dependent upon the underlying build utilities that are called from your build commands. The verbosity is equal to whatever you would see on your stdout if you executed the command manually.
CBE Container Log¶
Container commands log. This is an internal log file used by Fuze developers to trace issues with docker and the container.
Where do I Find the Log Files?¶
Log files are found post execution in the FTL, in a “logs” directory:
/<FTL> /logs - fuze.log - <build_target0>-log.txt - <build_target1>-log.txt - <build_targetN>-log.txt - common-log.txt - cbe-<cbe_name>.log