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

Append shell stdout to persistent log #1172

Merged
merged 2 commits into from
Dec 9, 2021
Merged

Append shell stdout to persistent log #1172

merged 2 commits into from
Dec 9, 2021

Conversation

legendtkl
Copy link
Contributor

fix for #1157

@@ -77,6 +77,7 @@ class ShellEngineConnExecutor(id: Int) extends ComputationExecutor with Logging
}) {
info(line)
engineExecutionContext.appendTextResultSet(line)
engineExecutionContext.appendStdout(line)
Copy link
Contributor

Choose a reason for hiding this comment

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

In order to reduce the number of messages, it is recommended to modify it to push by log.LogHelper.logCache.cacheLog(line)

Copy link
Contributor

@peacewong peacewong left a comment

Choose a reason for hiding this comment

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

LGTM.

@peacewong peacewong merged commit 24cd4d9 into apache:dev-1.0.3 Dec 9, 2021
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.

None yet

2 participants