Skip to content

Commit

Permalink
Remove info being logs as warning. (#79)
Browse files Browse the repository at this point in the history
* Remove info being logs as warning
* Fix trace file name in pipeline
---------

Signed-off-by: ClemensLinnhoff <clemens.linnhoff@partner.bmw.de>
  • Loading branch information
ClemensLinnhoff authored Jun 20, 2024
1 parent 160aea1 commit c5a77fe
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ jobs:
run: |
source .venv/bin/activate
pip install .
osivalidator --data data/20240604T065310Z_sv_370_244_20_generic_valid_sensor_view.osi -r rules
osivalidator --data data/20240604T065310Z_sv_370_244_20_generic_valid_sensor_view.osi -r rules --parallel
osivalidator --data data/20240618T122540Z_sv_370_244_20_minimal_valid_example.osi -r rules
osivalidator --data data/20240618T122540Z_sv_370_244_20_minimal_valid_example.osi -r rules --parallel
Binary file not shown.
Binary file not shown.
2 changes: 0 additions & 2 deletions osivalidator/osi_validator_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,6 @@ def error(self, timestamp, msg, *args, **kwargs):
@log
def info(self, timestamp, msg, *args, **kwargs):
"""Wrapper for python info logger"""
if timestamp:
self.log_messages[timestamp].append((20, timestamp, msg))
if kwargs.get("pass_to_logger"):
return self.logger.info(msg, *args, **kwargs)
return 0
Expand Down

0 comments on commit c5a77fe

Please sign in to comment.