Skip to content

Commit 3828ec4

Browse files
authored
slog to stdout and use default driver (transparency-dev#778)
* stdout * default driver
1 parent 5f9f259 commit 3828ec4

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

cmd/tesseract/gcp/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func main() {
123123
flag.Parse()
124124
ctx := context.Background()
125125

126-
var logWriter io.Writer = os.Stderr
126+
var logWriter io.Writer = os.Stdout
127127
var logClient *logging.Client
128128

129129
if *logToCloudAPI {

deployment/modules/gcp/gce/tesseract/main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ locals {
3030
# Map the port
3131
"-p 80:80",
3232
# Ensure that TesseraCT logs are delivered to GCP logging.
33-
"--log-driver=gcplogs",
3433
# Bind-mount the witness policy, if one has been provided.
3534
var.witness_policy == "" ? "" : "--mount type=bind,src=${local.witness_policy_file},dst=${local.witness_policy_file}",
3635
# Bind-mount the roots file, if one has been provided.

0 commit comments

Comments
 (0)