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

helm-chart/common: Add logging config for service components #375

Merged

Conversation

bjzhjing
Copy link
Contributor

@bjzhjing bjzhjing commented Sep 2, 2024

Logging is added in GenAIComps to print input/output, add it here for components debugging.

Copy link
Collaborator

@lianhao lianhao left a comment

Choose a reason for hiding this comment

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

I believe asr/tts/web-retriever also support LOGFLAG, please add them too. Also please update the manifest files for GMC

@bjzhjing bjzhjing force-pushed the add-logging-config-for-debug branch 2 times, most recently from 70bb238 to b6ec8f9 Compare September 3, 2024 01:25
@@ -20,3 +20,4 @@ data:
{{- else }}
no_proxy: {{ .Values.global.no_proxy | quote }}
{{- end }}
LOGFLAG: {{ .Values.LOGFLAG | quote }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

On second thought, based on the current python code logic1 and logic2, whenever we set the LOGFLAG env as a non-empty string, it will be treated as boolean True.

So we need to change the template accordingly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Update each values.yaml file to address the issue, please help take a look.

Logging is added in GenAIComps to print input/output, add it here for
components debugging.

Signed-off-by: Cathy Zhang <[email protected]>
@bjzhjing bjzhjing force-pushed the add-logging-config-for-debug branch from b6ec8f9 to e221eb9 Compare September 3, 2024 03:59
@yongfengdu yongfengdu merged commit b80ae50 into opea-project:main Sep 4, 2024
17 checks passed
Yugar-1 pushed a commit to Yugar-1/GenAIInfra that referenced this pull request Sep 5, 2024
…oject#375)

Logging is added in GenAIComps to print input/output, add it here for
components debugging.

Signed-off-by: Cathy Zhang <[email protected]>
@lianhao
Copy link
Collaborator

lianhao commented Sep 9, 2024

Fixed issue #370

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants