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

new log level "user" for very short log files #5084

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

test-fullautomation
Copy link

Dear community,

we are a team at Bosch who is since around 20 years in charge to provide test tool and infrastructure to our test departments.

We are happy to use Robot Framework.
One of the requirements we have is that tests need to run for weeks (e.g. hardware tests in climate chamber). The current Robot Framework core produces much too much log output for this purpose.

The new log level "USER" is transparent for Robot Framework users. Only if it is explicitly used and the trace level is set accordingly for the test execution, then the log output is reduced to only "USER" log entries. In "normal" log levels the new log level appears similar to already existing log outputs as per trace level.

Detailed documentation you find here:
robotframework/atest/robot/log_level/readme_log_level_test.txt

Origin of the change for this pull-reqeust ist here:
test-fullautomation#66

Changes:
new log level 'USER' introduced
amount of output reduced in debug log file and XML report file
self test in robotframework/atest/robot/log_level
documentation in robotframework/atest/robot/log_level/readme_log_level_test.txt
Based on robotframework-7.0.1.dev1-py3.9

"log level" self test extensions

IF condition and FOR loop added to log_level robot file and resource file
added log file comparison for debug log files
pattern files for log file comparison modified
documentation adapted

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