Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

control-service: reduce logging #2834

Merged
merged 1 commit into from
Oct 25, 2023
Merged

Conversation

mivanov1988
Copy link
Contributor

Why
Reducing unnecessary logging caused by the frequent async data jobs deployment scheduled every minute.

2023-10-25 11:46:29,056 DEBUG [OpId:] ecutor-200 c.v.t.s.diag.telemetry.Telemetry Sending streaming telemetry to https://vcsa.vmware.com/ph-stg/api/hyper/send?_c=taurus.v0&_i=supecollider-control-service
2023-10-25 11:46:29,063 DEBUG [OpId:] ecutor-199 .t.s.k.DataJobsKubernetesService Datajob template file location is not set. Using internal datajob template.
2023-10-25 11:46:29,065 DEBUG [OpId:] ecutor-199 c.v.t.s.d.m.MetricsHelper        Failed to convert object to json: class java.util.LinkedHashMap: failed to lazily initialize a collection of role: com.vmware.taurus.service.model.DataJob.executions, could not initialize proxy - no Session (through reference chain: java.util.LinkedHashMap["data_job"]->com.vmware.taurus.service.model.DataJob["executions"])
2023-10-25 11:46:29,065 DEBUG [OpId:] ecutor-199 c.v.t.s.diag.telemetry.Telemetry Sending streaming telemetry to https://vcsa.vmware.com/ph-stg/api/hyper/send?_c=taurus.v0&_i=supecollider-control-service
2023-10-25 11:46:29,066 DEBUG [OpId:] ecutor-199 c.v.t.s.d.m.MetricsHelper        Failed to convert object to json: class java.util.LinkedHashMap: failed to lazily initialize a collection of role: com.vmware.taurus.service.model.DataJob.executions, could not initialize proxy - no Session (through reference chain: java.util.LinkedHashMap["deployment"]->com.vmware.taurus.service.model.DesiredDataJobDeployment["dataJob"]->com.vmware.taurus.service.model.DataJob["executions"])
2023-10-25 11:46:29,066 DEBUG [OpId:] ecutor-199 c.v.t.s.diag.telemetry.Telemetry Sending streaming telemetry to https://vcsa.vmware.com/ph-stg/api/hyper/send?_c=taurus.v0&_i=supecollider-control-service
2023-10-25 11:46:29,097 DEBUG [OpId:] ecutor-198 .t.s.k.DataJobsKubernetesService Datajob template file location is not set. Using internal datajob template.

What
Adjusted the logging levels for specific log statements.

Signed-off-by: Miroslav Ivanov miroslavi@vmware.com

Why
Reducing unnecessary logging caused by the frequent async data jobs deployment scheduled every minute.

```
2023-10-25 11:46:29,056 DEBUG [OpId:] ecutor-200 c.v.t.s.diag.telemetry.Telemetry Sending streaming telemetry to https://vcsa.vmware.com/ph-stg/api/hyper/send?_c=taurus.v0&_i=supecollider-control-service
2023-10-25 11:46:29,063 DEBUG [OpId:] ecutor-199 .t.s.k.DataJobsKubernetesService Datajob template file location is not set. Using internal datajob template.
2023-10-25 11:46:29,065 DEBUG [OpId:] ecutor-199 c.v.t.s.d.m.MetricsHelper        Failed to convert object to json: class java.util.LinkedHashMap: failed to lazily initialize a collection of role: com.vmware.taurus.service.model.DataJob.executions, could not initialize proxy - no Session (through reference chain: java.util.LinkedHashMap["data_job"]->com.vmware.taurus.service.model.DataJob["executions"])
2023-10-25 11:46:29,065 DEBUG [OpId:] ecutor-199 c.v.t.s.diag.telemetry.Telemetry Sending streaming telemetry to https://vcsa.vmware.com/ph-stg/api/hyper/send?_c=taurus.v0&_i=supecollider-control-service
2023-10-25 11:46:29,066 DEBUG [OpId:] ecutor-199 c.v.t.s.d.m.MetricsHelper        Failed to convert object to json: class java.util.LinkedHashMap: failed to lazily initialize a collection of role: com.vmware.taurus.service.model.DataJob.executions, could not initialize proxy - no Session (through reference chain: java.util.LinkedHashMap["deployment"]->com.vmware.taurus.service.model.DesiredDataJobDeployment["dataJob"]->com.vmware.taurus.service.model.DataJob["executions"])
2023-10-25 11:46:29,066 DEBUG [OpId:] ecutor-199 c.v.t.s.diag.telemetry.Telemetry Sending streaming telemetry to https://vcsa.vmware.com/ph-stg/api/hyper/send?_c=taurus.v0&_i=supecollider-control-service
2023-10-25 11:46:29,097 DEBUG [OpId:] ecutor-198 .t.s.k.DataJobsKubernetesService Datajob template file location is not set. Using internal datajob template.
```

What
Adjusted the logging levels for specific log statements.

Signed-off-by: Miroslav Ivanov miroslavi@vmware.com
@mivanov1988 mivanov1988 merged commit abffdf8 into main Oct 25, 2023
13 checks passed
@mivanov1988 mivanov1988 deleted the person/miroslavi/reduce-loggig branch October 25, 2023 12:39
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.

None yet

4 participants