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

[FR] Differentiate neuro-cli and neuro-extras outputs in logs #494

Open
YevheniiSemendiak opened this issue Apr 18, 2022 · 0 comments
Open
Labels
feature request Proposal for a new feature to implement

Comments

@YevheniiSemendiak
Copy link
Collaborator

Context & problem description

https://neuromation.slack.com/archives/CE9SZE5B3/p1650272888844879
Sometimes we mislabel the source of the log messages.

Example:

√ Job ID: job-eb49a4f3-6681-4503-af28-96c9320f11f2
- Status: pending Creating
- Status: pending Scheduling
√ Status: running
√ Http URL: https://job-eb49a4f3-6681-4503-af28-96c9320f11f2.jobs-dev.neu.ro/
√ The job will die in 4 hours. See --life-span option documentation for details.

√ =========== Job is running in terminal mode ===========
√ (If you don't see a command prompt, try pressing enter)
√ (Use Ctrl-P Ctrl-Q key sequence to detach from the job)
ERROR: Timeout
ERROR: Failed to build image: Failed to build image: 124

It is unclear, what's the source of 2 last lines of the logs: is it Neuro-extras, Neuro-cli or the job?

Needs

It would be good to add some prefix of the log source like

neuro-cli: ERROR: Timeout
neuro-extras: ERROR: Failed to build image: Failed to build image: 124

Additional information (optional)

neuro-extras package version: 22.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Proposal for a new feature to implement
Projects
None yet
Development

No branches or pull requests

1 participant