Skip to content

Commit

Permalink
drop several log sites from info => debug
Browse files Browse the repository at this point in the history
These logs are user-facing through the UI publication workflow,
and are rarely actionable or useful.
  • Loading branch information
jgraettinger committed Jan 3, 2024
1 parent 38c9047 commit 91e9f39
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion crates/connector-init/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub async fn run(
// Now write a byte to stderr to let our container host know that we're alive.
// Whitespace avoids interfering with JSON logs that also write to stderr.
std::io::stderr().write(" ".as_bytes()).unwrap();
tracing::info!(%log_level, port, message = "connector-init started");
tracing::debug!(%log_level, port, message = "connector-init started");

let image = inspect::Image::parse_from_json_file(&image_inspect_json_path)
.context("reading image inspect JSON")?;
Expand Down
2 changes: 1 addition & 1 deletion crates/connector-init/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ fn main() {
"connector-init crashed with error"
);
}
tracing::info!("connector-init exiting");
tracing::debug!("connector-init exiting");
}
2 changes: 1 addition & 1 deletion go/flowctl-go/cmd-api-activate.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (cmd apiActivate) Execute(_ []string) error {
"config": cmd,
"version": mbp.Version,
"buildDate": mbp.BuildDate,
}).Info("flowctl configuration")
}).Debug("flowctl configuration")
pb.RegisterGRPCDispatcher("local")

return cmd.execute(ctx)
Expand Down
2 changes: 1 addition & 1 deletion go/flowctl-go/cmd-api-await.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (cmd apiAwait) Execute(_ []string) error {
"config": cmd,
"version": mbp.Version,
"buildDate": mbp.BuildDate,
}).Info("flowctl configuration")
}).Debug("flowctl configuration")
pb.RegisterGRPCDispatcher("local")

return cmd.execute(ctx)
Expand Down
2 changes: 1 addition & 1 deletion go/flowctl-go/cmd-api-build.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (cmd apiBuild) Execute(_ []string) error {
"config": cmd,
"version": mbp.Version,
"buildDate": mbp.BuildDate,
}).Info("flowctl configuration")
}).Debug("flowctl configuration")
pb.RegisterGRPCDispatcher("local")

return cmd.execute(ctx)
Expand Down
2 changes: 1 addition & 1 deletion go/flowctl-go/cmd-api-delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (cmd apiDelete) Execute(_ []string) error {
"config": cmd,
"version": mbp.Version,
"buildDate": mbp.BuildDate,
}).Info("flowctl configuration")
}).Debug("flowctl configuration")
pb.RegisterGRPCDispatcher("local")

return cmd.execute(ctx)
Expand Down
2 changes: 1 addition & 1 deletion go/flowctl-go/cmd-api-discover.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (cmd apiDiscover) Execute(_ []string) error {
"config": cmd,
"version": mbp.Version,
"buildDate": mbp.BuildDate,
}).Info("flowctl configuration")
}).Debug("flowctl configuration")
pb.RegisterGRPCDispatcher("local")

var resp, err = cmd.execute(ctx)
Expand Down
2 changes: 1 addition & 1 deletion go/flowctl-go/cmd-api-test.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (cmd apiTest) Execute(_ []string) error {
"config": cmd,
"version": mbp.Version,
"buildDate": mbp.BuildDate,
}).Info("flowctl configuration")
}).Debug("flowctl configuration")
pb.RegisterGRPCDispatcher("local")

return cmd.execute(ctx)
Expand Down
2 changes: 1 addition & 1 deletion go/flowctl-go/cmd-journals-split.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func (cmd cmdJournalsSplit) Execute(_ []string) error {
"config": cmd,
"version": mbp.Version,
"buildDate": mbp.BuildDate,
}).Info("flowctl configuration")
}).Debug("flowctl configuration")
pb.RegisterGRPCDispatcher(gazctlcmd.ShardsCfg.Zone)

return cmd.execute(context.Background())
Expand Down
2 changes: 1 addition & 1 deletion go/flowctl-go/cmd-shards-split.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (cmd cmdShardsSplit) Execute(_ []string) error {
"config": cmd,
"version": mbp.Version,
"buildDate": mbp.BuildDate,
}).Info("flowctl configuration")
}).Debug("flowctl configuration")
pb.RegisterGRPCDispatcher(gazctlcmd.ShardsCfg.Zone)

return cmd.execute(context.Background())
Expand Down
2 changes: 1 addition & 1 deletion go/flowctl-go/cmd-test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (cmd cmdTest) Execute(_ []string) (retErr error) {
"config": cmd,
"version": mbp.Version,
"buildDate": mbp.BuildDate,
}).Info("flowctl configuration")
}).Debug("flowctl configuration")
protocol.RegisterGRPCDispatcher("local")

// Create a temporary directory which will contain the Etcd database
Expand Down

0 comments on commit 91e9f39

Please sign in to comment.