Skip to content

Commit

Permalink
chore(chotel): use logger
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Dec 4, 2023
1 parent 9afffef commit 604d0de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/chotel/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const DDL = `CREATE TABLE IF NOT EXISTS opentelemetry_span_export
`

// NewApp initializes the trace exporter application.
func NewApp(logger *zap.Logger, metrics *app.Metrics) (*App, error) {
func NewApp(lg *zap.Logger, metrics *app.Metrics) (*App, error) {
a := &App{
metrics: metrics,
clickHouseAddr: "clickhouse:9000",
Expand Down Expand Up @@ -110,6 +110,7 @@ func NewApp(logger *zap.Logger, metrics *app.Metrics) (*App, error) {
return nil, err
}
}
lg.Info("Initialized")
return a, nil
}

Expand Down

0 comments on commit 604d0de

Please sign in to comment.