Logging levels in RQM
![](http://jazz.net/_images/myphoto/a79a990fc7db9951d3e017abb2b6d0b7.jpg)
Hello,
ERROR = 40
INFO = 20
WARNING = 30
DEBUG = 10
I'm executing my python script through a test suite on a machine with a CLA (Command Line Adapter) installed on it and I see that even though the script passes with a return code = 0, the test suite result has an RQM .err log with all the INFO prints, as if all my python INFO log messages are translated to ERROR messages in RQM and fail the test suite for no reason.
does someone know if RQM has a logging system that I can access in order to align its log levels with my Python log levels?
One answer
![](http://jazz.net/_images/myphoto/a79a990fc7db9951d3e017abb2b6d0b7.jpg)
Hi, Sara
There are exit codes in CLA you can map to python logger:
https://jazz.net/library/article/809#MapCodes
Comments
![](http://jazz.net/_images/myphoto/a79a990fc7db9951d3e017abb2b6d0b7.jpg)
It's not the exit code that I see a problem with, but the INFO log messages from within my Python script that are interpreted as ERROR messages and are printed to RQM .err log instead of to RQM .output log.