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

Not able to log messages into Report Portal is the number of logs is not a multiple of BatchLogsSize #217

Closed
LIU-YiFeng-1 opened this issue Aug 1, 2023 · 0 comments
Labels

Comments

@LIU-YiFeng-1
Copy link

LIU-YiFeng-1 commented Aug 1, 2023

Describe the bug
Hi, was trying to integrate RP and log the message for each test.
When the BatchLogsSize is set to X, Report portal log messages only show n*X logs and reminder number of logs will not be logged.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Update the setBatchLogsSize to 30
  2. Generate 70 dummy log messages

Expected behavior
For instance, for params.setBatchLogsSize(30), and total number of log messages generated in the application = 70, Report Portal shall be able to log all the 70 messages.

Actual behavior
For instance, for params.setBatchLogsSize(30), and total number of log messages generated in the application = 70, Report Portal will only log 60 of them.

Dependency versions

    <dependency>
        <groupId>com.epam.reportportal</groupId>
        <artifactId>logger-java-logback</artifactId>
        <version>5.1.6</version>
    </dependency>

    <dependency>
        <groupId>com.epam.reportportal</groupId>
        <artifactId>client-java</artifactId>
        <version>5.1.22</version>
    </dependency>

    <dependency>
        <groupId>com.epam.reportportal</groupId>
        <artifactId>commons-model</artifactId>
        <version>5.8.1</version>
    </dependency>

Just wondering if there is any setting what was missed or is there a way to force push the remining 10 log messages?

Any help would be appreciated.

Best

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant