Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog

## [Unreleased]
### Removed
- Logging in the `listener.__post_log_message` method, to avoid logging the same message recursively, by @HardNorth

## [5.6.2]
### Fixed
- SETUP / TEARDOWN keyword removing, by @HardNorth

Expand Down
4 changes: 0 additions & 4 deletions robotframework_reportportal/listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,6 @@ def __post_log_message(self, message: LogMessage) -> None:

:param message: Internal message object to send
"""
if message.attachment:
logger.debug(f"ReportPortal - Log Message with Attachment: {message}")
else:
logger.debug(f"ReportPortal - Log Message: {message}")
self.service.log(message=message)

def __post_skipped_keyword(self, kwd: Keyword, clean_data_remove: bool) -> None:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from setuptools import setup

__version__ = "5.6.2"
__version__ = "5.6.3"


def read_file(fname):
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_launch_log(mock_client_init):

@mock.patch(REPORT_PORTAL_SERVICE)
def test_binary_file_log(mock_client_init):
if platform.system() == "Linux" and platform.release() == "6.8.0-1017-azure":
if platform.system() == "Linux" and platform.release().endswith("-azure"):
# GitHub Actions Linux runner has an issue with binary data reading
data_type = "application/octet-stream"
else:
Expand Down