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 provides documentation for the \u003ccode\u003eLoggingMode\u003c/code\u003e enum within the Google Cloud Build v1 API, which controls the logging behavior of builds.\u003c/p\u003e\n"],["\u003cp\u003eThe 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLoggingMode\u003c/code\u003e enum has six fields: \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 specifying a different logging method or no logging.\u003c/p\u003e\n"],["\u003cp\u003eThe default logging mode is \u003ccode\u003eLegacy\u003c/code\u003e, but it is not recommended to rely on this, as it is subject to change; the \u003ccode\u003eStackdriverOnly\u003c/code\u003e option is noted to be equivalent to \u003ccode\u003eCLOUD_LOGGING_ONLY\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]