Commit Graph
359 Commits
Author SHA1 Message Date
tomasz.kowalczewski 0ec6a8a5f7 Debug logging 2021-10-21 08:43:30 +02:00
tomasz.kowalczewski 87d67a5fce Re #74: Fix test by providing time argument in nanoseconds. 2021-10-21 00:19:44 +02:00
tomasz.kowalczewski fb09f5664e Re #74: Created StringBuilders thread local holder and using thread local StringBuilder in Log4jAdapterLabelPrinter that can be shared between many threads. 2021-10-20 23:44:56 +02:00
tomasz.kowalczewski 1a7694a89b Created StringBuilders thread local holder and using thread local StringBuilder in Log4jAdapterLabelPrinter that can be shared between many threads. 2021-10-20 23:44:04 +02:00
tomasz.kowalczewski 4947bff2b0 Moved TextBuilders to utils package. 2021-10-20 23:43:16 +02:00
tomasz.kowalczewski 2968309733 Moved TextBuilders to utils package. 2021-10-20 23:43:05 +02:00
tomasz.kowalczewski 9729d2bd2c Test for MDC logging. 2021-10-20 23:42:19 +02:00
tomasz.kowalczewski 50a7c7f5ac Added clear error message when test resource was missing. 2021-10-20 23:42:05 +02:00
Tomasz Kowalczewski e073d52d53 Merge pull request #73 from tkowalcz/config-by-properties
Config by properties
2021-09-04 22:48:14 +02:00
tomasz.kowalczewski 63c381efee Small tweaks to wording. 2021-09-04 22:39:15 +02:00
tomasz.kowalczewski 17062dbad9 Small tweaks to wording. 2021-09-04 22:38:23 +02:00
tomasz.kowalczewski 864f2e33cd Small tweaks to formatting. 2021-09-04 22:37:25 +02:00
tomasz.kowalczewski 66c87350e3 Documented configuring Tjahzi using property file. 2021-09-04 22:28:23 +02:00
tomasz.kowalczewski f99c262d70 Added test for loading Tjahzi configuration from property file based config file. 2021-09-04 22:18:03 +02:00
Tomasz Kowalczewski b8b309a578 Updated loki version in artifact descriptor 2021-08-13 12:06:12 +02:00
tomasz.kowalczewski d71d869ec0 [skip ci] [maven-release-plugin] prepare for next development iteration 2021-08-08 20:10:28 +00:00
tomasz.kowalczewski 798bf31f51 [skip ci] [maven-release-plugin] prepare release tjahzi-parent-0.9.17 2021-08-08 20:10:27 +00:00
Tomasz Kowalczewski 8138ffbd58 Merge pull request #70 from tkowalcz/69-upgrade-agrona
Re #69: Upgraded agrona to 1.12.0 to avoid allocatons when serializin…
2021-08-07 11:58:27 +02:00
Tomasz Kowalczewski d5f73353c0 Re #69: Upgraded agrona to 1.12.0 to avoid allocatons when serializing stirng to UnsageBuffer. 2021-08-07 10:40:27 +02:00
Tomasz Kowalczewski 2802294713 Merge pull request #68 from tkowalcz/refactor-tests
Refactor tests
2021-08-07 10:21:35 +02:00
Tomasz Kowalczewski 8e00a7e923 Static imports. 2021-08-07 09:29:01 +02:00
tomasz.kowalczewski dec21db1c2 This time also cleaning up tests on logback side. 2021-08-07 01:42:17 +02:00
tomasz.kowalczewski 35bd48c62c Reformatting, changing imports etc. 2021-08-06 23:05:28 +02:00
Tomasz Kowalczewski 49b99bac70 Refactored tests to remove repeated setup and assert code. 2021-08-04 00:26:13 +02:00
tomasz.kowalczewski 0e39bd8950 [skip ci] [maven-release-plugin] prepare for next development iteration 2021-08-02 20:16:13 +00:00
tomasz.kowalczewski 0cfe1b6420 [skip ci] [maven-release-plugin] prepare release tjahzi-parent-0.9.16 2021-08-02 20:16:09 +00:00
Tomasz Kowalczewski 51f28da8b0 Re #39: Documented shutdown timeout. 2021-07-31 00:52:43 +02:00
Tomasz Kowalczewski 81e419afb5 Re #39: Using shutdown timeout from configuration to pass to Agrona Agent (not exactly ideal but makes more sense than hardcoded value). 2021-07-31 00:11:07 +02:00
Tomasz Kowalczewski 684756e379 Re #39: Configurable shutdown timeout. 2021-07-30 23:15:32 +02:00
Tomasz Kowalczewski 9e07ef34ca Merge pull request #67 from tkowalcz/39-drain-on-shutdown
39 drain on shutdown
2021-07-30 14:19:47 +02:00
Tomasz Kowalczewski c7343aab5f Re #39: Added unit tests 2021-07-30 14:08:22 +02:00
Tomasz Kowalczewski 89eb4db274 Re #39: Fixed unstable tests. 2021-07-29 00:04:12 +02:00
Tomasz Kowalczewski 7a1d153a61 Re #39: Added tests for logback implementation of draining. 2021-07-28 23:30:07 +02:00
tomasz.kowalczewski 97c6c88abc Re #39: Implemented drain-on-shutdown with testcontainers test. Done some refactoring - still in progress. 2021-07-25 00:28:35 +02:00
tomasz.kowalczewski 2e9653a156 Removed spurious newline. 2021-07-24 10:54:28 +02:00
Tomasz Kowalczewski a3864003f1 Merge pull request #66 from efimmatytsin/master
getLogBufferByteRemainsSize method
2021-07-22 07:28:00 +02:00
Efim Matytsin 8b3f30b30e getLogBufferByteRemainsSize method 2021-07-21 15:53:19 +04:00
tomasz.kowalczewski cd488ed10f [skip ci] [maven-release-plugin] prepare for next development iteration 2021-07-20 19:44:23 +00:00
tomasz.kowalczewski 3ea0585041 [skip ci] [maven-release-plugin] prepare release tjahzi-parent-0.9.15 2021-07-20 19:44:18 +00:00
tomasz.kowalczewski 40149bcba9 Optimized forEach loop into counted loop to avoid allocation. Added documentation of MDC lookups. 2021-07-20 21:22:19 +02:00
Tomasz Kowalczewski b6a3a5af1a Merge pull request #65 from efimmatytsin/master
Logback mdcLogLabel functionality
2021-07-20 20:56:46 +02:00
Efim Matytsin 1220eb7ded mdcLogLabel functionality 2021-07-20 20:31:05 +04:00
tomasz.kowalczewski 9d2f810e3a Making test more stable - it can happen that there is some other unrelated log line (e.g. from [Finalizer] thread) so we can't assume there is exactly ONE result. 2021-07-17 13:49:14 +02:00
Tomasz Kowalczewski 9a07bcff13 Merge pull request #63 from tkowalcz/jdk-http
Small steps toward reducing dependency on Netty in core.
2021-07-17 11:25:48 +02:00
tomasz.kowalczewski e4a6c0143e Cleanup after test for configuring Loki programmatically. 2021-07-15 20:51:57 +02:00
tomasz.kowalczewski 59e5771a66 Merge remote-tracking branch 'origin/master' 2021-07-15 20:48:51 +02:00
tomasz.kowalczewski e88aeae6f7 Test for configuring Loki programmatically. 2021-07-15 20:47:54 +02:00
tomasz.kowalczewski e539201f94 Removed unnecessary @Testcontainers annotation. 2021-07-15 20:47:16 +02:00
tomasz.kowalczewski 67063f91b9 Small steps toward reducing dependency on Netty in core. 2021-07-12 23:41:30 +02:00
tomasz.kowalczewski b1a9b35470 [skip ci] [maven-release-plugin] prepare for next development iteration 2021-07-12 06:21:24 +00:00