commit | a7f2a2eceaaeb4e101c6fd51a6868b48c8d1214f | [log] [tgz] |
---|---|---|
author | Andrey Yegorov <8622884+dlg99@users.noreply.github.com> | Mon Feb 01 01:54:43 2021 -0800 |
committer | GitHub <noreply@github.com> | Mon Feb 01 10:54:43 2021 +0100 |
tree | 6e23a025fdc6cefa10de5cabcc8c46b56489cf26 | |
parent | c5e4c8645bb08c4b0ba65d15c8b4d0084bd09c68 [diff] |
Limit log output to prevent in case of the large group of the log segments Descriptions of the changes in this PR: Limit logged data ### Motivation Overly long log line at ReadAheadEntryReader Found a log with single log line of over 5 mil characters long "org.apache.distributedlog.ReadAheadEntryReader - Starting the readahead entry reader for ..." + the details of ~16000 segments. ### Changes Output details of up to 10 segments plus count of segments. Master Issue: #2561 Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Nicolo Boschi <boschi1997@gmail.com> This closes #2562 from dlg99/master-log
Apache BookKeeper is a scalable, fault tolerant and low latency storage service optimized for append-only workloads.
It is suitable for being used in following scenarios:
Please visit the Documentation from the project website for more information.
For filing bugs, suggesting improvements, or requesting new features, help us out by opening a Github issue or opening an Apache jira.
Subscribe or mail the user@bookkeeper.apache.org list - Ask questions, find answers, and also help other users.
Subscribe or mail the dev@bookkeeper.apache.org list - Join development discussions, propose new ideas and connect with contributors.
Join us on Slack - This is the most immediate way to connect with Apache BookKeeper committers and contributors.
We feel that a welcoming open community is important and welcome contributions.
See Developer Setup to get your local environment setup.
Take a look at our open issues: JIRA Issues Github Issues.
Review our coding style and follow our pull requests to learn about our conventions.
Make your changes according to our contribution guide.