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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-19 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eLoggingMode\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.CloudBuild.V1\u003c/code\u003e namespace, outlining various logging options for Cloud Build operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLoggingMode\u003c/code\u003e enum includes six logging modes: \u003ccode\u003eCloudLoggingOnly\u003c/code\u003e, \u003ccode\u003eGcsOnly\u003c/code\u003e, \u003ccode\u003eLegacy\u003c/code\u003e, \u003ccode\u003eLoggingUnspecified\u003c/code\u003e, \u003ccode\u003eNone\u003c/code\u003e, and \u003ccode\u003eStackdriverOnly\u003c/code\u003e, each with a specific logging behavior, including enabling only Cloud Logging, only Cloud Storage logging, both, determining logging by the service, no logging, and using Stackdriver which is equivalent to CloudLoggingOnly.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.15.0 is the latest version available for the \u003ccode\u003eLoggingMode\u003c/code\u003e documentation, and historical versions dating back to 1.0.0 are also accessible.\u003c/p\u003e\n"],["\u003cp\u003eThe default logging mode for the \u003ccode\u003eLoggingUnspecified\u003c/code\u003e option is \u003ccode\u003eLEGACY\u003c/code\u003e, but it's stated that this default may change in the future, and therefore it's not advised to rely on it.\u003c/p\u003e\n"],["\u003cp\u003eThe current version of the document is 1.2.0 which was the initial version of the content when it was created, and all the listed versions go as far back as 1.0.0.\u003c/p\u003e\n"]]],[],null,[]]