-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
More accurate log processing. #643
More accurate log processing. #643
Commits on Apr 13, 2018
-
The Docker logs can come in non normalized form. The line breaks can be not at end of line, the frame's boundary can split multibyte unicode symbols in the middle and so on. This patch address this problems and normalize logs so, that they can be processed strictly line by line. To achive this, the extra base class BaseConsumer have been added. That class normalize the incoming in method accept() logs and forward it to method process() for it's child classes. Other *Consumer classes have been reworked to be child to the BaseConsumer class and only do own work. Adititionally, BaseConsumer have new withRemoveAnsiCodes(boolean) method for ability to disable ANSI color codes removing (true by default).
Victor Verbitsky committedApr 13, 2018 Configuration menu - View commit details
-
Copy full SHA for 95a7887 - Browse repository at this point
Copy the full SHA 95a7887View commit details -
Move normalization logic directly to FrameConsumerResultCallback
It's help to not ruin the API of *Consumer classes.
Victor Verbitsky committedApr 13, 2018 Configuration menu - View commit details
-
Copy full SHA for fb7dd2d - Browse repository at this point
Copy the full SHA fb7dd2dView commit details -
Added some tests for log normalization in class FrameConsumerResultCa…
…llback.
Victor Verbitsky committedApr 13, 2018 Configuration menu - View commit details
-
Copy full SHA for 503e0d8 - Browse repository at this point
Copy the full SHA 503e0d8View commit details -
Victor Verbitsky committed
Apr 13, 2018 Configuration menu - View commit details
-
Copy full SHA for 1f544bf - Browse repository at this point
Copy the full SHA 1f544bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 656c80d - Browse repository at this point
Copy the full SHA 656c80dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a693e7 - Browse repository at this point
Copy the full SHA 9a693e7View commit details
Commits on Apr 14, 2018
-
Log consumers, that not derive BaseConsumer class, is not receive col…
…or codes now. Added record to the changelog.
Configuration menu - View commit details
-
Copy full SHA for aec8bad - Browse repository at this point
Copy the full SHA aec8badView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5d8959 - Browse repository at this point
Copy the full SHA d5d8959View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4da324f - Browse repository at this point
Copy the full SHA 4da324fView commit details
Commits on Apr 16, 2018
-
Fixes due to the code review recommendations
Victor Verbitsky committedApr 16, 2018 Configuration menu - View commit details
-
Copy full SHA for 489dd9b - Browse repository at this point
Copy the full SHA 489dd9bView commit details -
Fixes due to the code review recommendations (Part 2)
Victor Verbitsky committedApr 16, 2018 Configuration menu - View commit details
-
Copy full SHA for 2bacce8 - Browse repository at this point
Copy the full SHA 2bacce8View commit details -
One more use case for FrameConsumerResultCallback class. And unit tes…
…t for it. If StreamType is STDERR or STDOUT the log always have newline at line end. Therefore preprocessor should trim it to be consistent with RAW type processing.
Victor Verbitsky committedApr 16, 2018 Configuration menu - View commit details
-
Copy full SHA for 6191e6e - Browse repository at this point
Copy the full SHA 6191e6eView commit details -
Roll back previouse change doe to failing tests. Doing newline trimmi…
…ng directly in Slf4jLogConsumer class.
Victor Verbitsky committedApr 16, 2018 Configuration menu - View commit details
-
Copy full SHA for 25fec6c - Browse repository at this point
Copy the full SHA 25fec6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64b1e0e - Browse repository at this point
Copy the full SHA 64b1e0eView commit details