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

Added log for process input #3593

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

paulli2017
Copy link
Contributor

Added process input log

lisa/util/process.py Outdated Show resolved Hide resolved
@squirrelsc
Copy link
Member

@LiliDeng LGTM

if is_log_input:
self._log.debug(f"input content: {content}")
else:
self._log.debug(f"Inputting {len(content)} chars to process.")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is the content of this if and else statement reversed?

Copy link
Member

Choose a reason for hiding this comment

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

It's not, but please advise how to make the name clearer. The name means "is log input?" if it's true, log the input, if not just log the length of input.

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