Skip to content

Commit 2b468c8

Browse files
authored
Merge pull request #211 from reportportal/develop
Release
2 parents 79c538b + 9577379 commit 2b468c8

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22

33
## [Unreleased]
4+
### Removed
5+
- Logging in the `listener.__post_log_message` method, to avoid logging the same message recursively, by @HardNorth
6+
7+
## [5.6.2]
48
### Fixed
59
- SETUP / TEARDOWN keyword removing, by @HardNorth
610

robotframework_reportportal/listener.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,6 @@ def __post_log_message(self, message: LogMessage) -> None:
199199
200200
:param message: Internal message object to send
201201
"""
202-
if message.attachment:
203-
logger.debug(f"ReportPortal - Log Message with Attachment: {message}")
204-
else:
205-
logger.debug(f"ReportPortal - Log Message: {message}")
206202
self.service.log(message=message)
207203

208204
def __post_skipped_keyword(self, kwd: Keyword, clean_data_remove: bool) -> None:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
from setuptools import setup
2020

21-
__version__ = "5.6.2"
21+
__version__ = "5.6.3"
2222

2323

2424
def read_file(fname):

tests/integration/test_logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_launch_log(mock_client_init):
3434

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

0 commit comments

Comments
 (0)