Only Cloud Logging is enabled. Note that logs for both the Cloud Console
UI and Cloud SDK are based on Cloud Storage logs, so neither will provide
logs if this option is chosen.
GcsOnly
Only Cloud Storage logging is enabled.
Legacy
Cloud Logging and Cloud Storage logging are enabled.
LoggingUnspecified
The service determines the logging mode. The default is LEGACY. Do not
rely on the default logging behavior as it may change in the future.
None
Turn off all logging. No build logs will be captured.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page provides documentation for the `LoggingMode` enum within the Google Cloud Build v1 API, which controls the logging behavior of builds."],["The latest version of the documentation is 2.15.0, and the page also lists documentation for previous versions all the way back to 1.0.0 for reference."],["The `LoggingMode` enum has six fields: `CloudLoggingOnly`, `GcsOnly`, `Legacy`, `LoggingUnspecified`, `None`, and `StackdriverOnly`, each specifying a different logging method or no logging."],["The default logging mode is `Legacy`, but it is not recommended to rely on this, as it is subject to change; the `StackdriverOnly` option is noted to be equivalent to `CLOUD_LOGGING_ONLY`."]]],[]]