Skip to content

fix: Add back missing plugin logs#2389

Merged
kodiakhq[bot] merged 8 commits into
mainfrom
plugin-logger
Oct 4, 2022
Merged

fix: Add back missing plugin logs#2389
kodiakhq[bot] merged 8 commits into
mainfrom
plugin-logger

Conversation

@hermanschaaf
Copy link
Copy Markdown
Contributor

This fixes an issue where plugin logs were not being streamed to cloudquery.log. It also adds a test for this to catch future regressions.

@cq-bot cq-bot added the cli label Oct 4, 2022
Copy link
Copy Markdown
Contributor

@yevgenypats yevgenypats left a comment

Choose a reason for hiding this comment

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

looks good, one nit around logging.

Comment thread cli/cmd/sync.go Outdated

func sync(cmd *cobra.Command, args []string) error {
ctx := cmd.Context()
log.Info().Msg("Start sync")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we should move this to syncConnection and add source and destinations=[] to that as otherwise it's missing information and sync_tmie

Comment thread cli/cmd/sync.go Outdated
Comment thread cli/cmd/sync.go Outdated
@hermanschaaf hermanschaaf added the automerge Automatically merge once required checks pass label Oct 4, 2022
@kodiakhq kodiakhq Bot merged commit f3335a8 into main Oct 4, 2022
@kodiakhq kodiakhq Bot deleted the plugin-logger branch October 4, 2022 15:24
kodiakhq Bot pushed a commit that referenced this pull request Oct 4, 2022
🤖 I have created a release *beep* *boop*
---


## [1.0.3](cli-v1.0.2...cli-v1.0.3) (2022-10-04)


### Bug Fixes

* Add back missing plugin logs ([#2389](#2389)) ([f3335a8](f3335a8))

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

Labels

automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants