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

[Feature] Separate console output from logs #2000

Closed
martin-mat opened this issue Apr 23, 2024 · 0 comments
Closed

[Feature] Separate console output from logs #2000

martin-mat opened this issue Apr 23, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request v1.3.0 Issue included in v1.3.0 release

Comments

@martin-mat
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Informational console output with test execution progress and result is mixed with logs. Due to this, it is not possible run testsuite with higher level logs (info, debug) and still have good console feedback from execution progress.

Describe the solution you'd like
Introduce possibility to direct logs to a file. Perhaps it would be good to direct logs to a file by default, in similar manner as it is now done with results/*yaml.

Describe alternatives you've considered

**How will this be tested? aka Acceptance Criteria (optional) **

(optional: unnecessary for things like some version bumps etc.)

Once this issue is addressed how will the fix be verified?

Additional context

@martin-mat martin-mat added the enhancement New feature or request label Apr 23, 2024
@martin-mat martin-mat changed the title [Feature] Sepatate console output from logs [Feature] Separate console output from logs Apr 23, 2024
kosstennbl pushed a commit to kosstennbl/cnf-testsuite that referenced this issue Apr 26, 2024
Add processing of environment variables LOGPATH and LOG_PATH
If either one exists - logger will log into the file on that
path instead of STDOUT.

refs: cnti-testcatalog#2000

Signed-off-by: Konstantin Yarovoy <[email protected]>
kosstennbl pushed a commit to kosstennbl/cnf-testsuite that referenced this issue Apr 26, 2024
Add processing of environment variables LOGPATH and LOG_PATH
If either one exists - logger will log into the file on that
path instead of STDOUT.

refs: cnti-testcatalog#2000

Signed-off-by: Konstantin Yarovoy <[email protected]>
kosstennbl pushed a commit to kosstennbl/cnf-testsuite that referenced this issue May 2, 2024
Add processing of environment variables LOGPATH and LOG_PATH
If either one exists - logger will log into the file on that
path instead of STDOUT.

refs: cnti-testcatalog#2000

Signed-off-by: Konstantin Yarovoy <[email protected]>
@lixuna lixuna moved this to Peer Review in CNTI Test Catalog May 10, 2024
@lixuna lixuna added the v1.3.0 Issue included in v1.3.0 release label May 10, 2024
taylor pushed a commit that referenced this issue May 14, 2024
Add processing of environment variables LOGPATH and LOG_PATH
If either one exists - logger will log into the file on that
path instead of STDOUT.

refs: #2000

Signed-off-by: Konstantin Yarovoy <[email protected]>
@github-project-automation github-project-automation bot moved this from Peer Review to Done in CNTI Test Catalog May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v1.3.0 Issue included in v1.3.0 release
Projects
Status: Done
Development

No branches or pull requests

3 participants