Skip to content

feat: Show plugin version in plugin server logs#2124

Merged
kodiakhq[bot] merged 2 commits intomainfrom
feat/show-plugin-version-in-logs
Apr 22, 2025
Merged

feat: Show plugin version in plugin server logs#2124
kodiakhq[bot] merged 2 commits intomainfrom
feat/show-plugin-version-in-logs

Conversation

@disq
Copy link
Copy Markdown
Member

@disq disq commented Apr 21, 2025

This could make certain things easier to debug.

@disq disq requested review from a team and jon-s58 April 21, 2025 11:08
@github-actions github-actions bot added the feat label Apr 21, 2025
}
}

func (p *Plugin) PackageAndVersion() string {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't want to do a Stringer without any input, but not opposed to it.

}()

logger.Info().Str("address", listener.Addr().String()).Msg("Plugin server listening")
logger.Info().Str("address", listener.Addr().String()).Str("plugin", s.plugin.PackageAndVersion()).Msg("Plugin server listening")
Copy link
Copy Markdown
Member Author

@disq disq Apr 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Old line was:

{"address":"/tmp/cq-....sock","message":"Plugin server listening","module":"aws-source"}

@disq disq requested a review from erezrokah April 21, 2025 11:11
@disq disq added the automerge label Apr 22, 2025
@kodiakhq kodiakhq bot merged commit be08606 into main Apr 22, 2025
9 checks passed
@kodiakhq kodiakhq bot deleted the feat/show-plugin-version-in-logs branch April 22, 2025 16:19
kodiakhq bot pushed a commit that referenced this pull request Apr 28, 2025
🤖 I have created a release *beep* *boop*
---


## [4.79.0](v4.78.0...v4.79.0) (2025-04-28)


### Features

* Add transformer to update table description with its table options ([#2128](#2128)) ([2387b57](2387b57))
* Show plugin version in plugin server logs ([#2124](#2124)) ([be08606](be08606))


### Bug Fixes

* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.26.10 ([#2132](#2132)) ([775d537](775d537))
* Prevent deadlock in transformer ([#2130](#2130)) ([a65b101](a65b101))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants