1
0
Commit Graph

180 Commits

Author SHA1 Message Date
Gary Gregory
2039eeba6f Fix compiler warnings 2023-11-19 16:33:27 -05:00
Gary Gregory
704258ca41 Use Map API 2023-11-19 16:30:24 -05:00
Gary Gregory
f8aeeaec61 Fix compiler warnings for type casts 2023-11-19 16:28:00 -05:00
Gary Gregory
66c2290ed7 Fix compiler warnings 2023-11-19 16:25:42 -05:00
Gary Gregory
a39a6d1234 Format nits 2023-11-19 16:21:18 -05:00
Gary Gregory
7ce3866b16 Fix compiler warning 2023-11-19 16:11:36 -05:00
Gary Gregory
0b8c564674 Fix compiler warning 2023-11-19 16:09:58 -05:00
Gary Gregory
ab478d1a0f Remove unused private method 2023-11-19 16:08:36 -05:00
Gary Gregory
dd2c1599b2 Fix compiler warning 2023-11-19 16:06:48 -05:00
Gary Gregory
0e548f1fb4 Fix compiler warnings 2023-11-19 16:05:15 -05:00
Gary Gregory
21b3a91d2b Fix compiler warning 2023-11-19 11:58:52 -05:00
Gary Gregory
ab86436dbb Simplify JUL support check 2023-11-19 11:57:54 -05:00
Gary Gregory
daacf25020 Fix compiler warning 2023-11-19 11:56:14 -05:00
Gary Gregory
539ac1cae7 Camcel-case internal names 2023-11-19 11:55:11 -05:00
Gary Gregory
812631cb9e Camcel-case internal names 2023-11-19 11:54:48 -05:00
Gary Gregory
533edd2759 Remove unused exceptions 2023-11-19 11:54:21 -05:00
Gary Gregory
63347c9024 Javadoc 2023-11-19 11:51:47 -05:00
Gary Gregory
572daec221 Better local name
Format
2023-11-19 11:50:32 -05:00
Gary Gregory
3ffa335ef6 Fix compiler warning 2023-11-19 11:50:08 -05:00
Gary Gregory
1ac6d05b8b Comment 2023-11-19 11:47:37 -05:00
Gary Gregory
544ef7cfe6 Fix compiler warning 2023-11-19 11:47:13 -05:00
Gary Gregory
7d6d85a444 Fix compiler warning 2023-11-19 11:46:53 -05:00
Gary Gregory
128cd42951 Fix compiler warning 2023-11-19 11:45:48 -05:00
Gary Gregory
2f8d577970 Fix compiler warning 2023-11-19 11:45:20 -05:00
Gary Gregory
e8b4e383ac Fix compiler warning 2023-11-19 11:42:25 -05:00
Gary Gregory
7af5ec6b03 Use try-with-resources 2023-11-19 11:41:57 -05:00
Gary Gregory
fa9feb0d9e Fix compiler warning 2023-11-19 11:35:21 -05:00
Gary Gregory
e2f9a3fce8 Deprecate LogConfigurationException.cause in favor of getCause() 2023-11-19 11:34:18 -05:00
Gary Gregory
b01ad472ae Use try-with-resources 2023-11-19 11:20:00 -05:00
Gary Gregory
0b5089a953 Fix compiler warning 2023-11-19 11:19:48 -05:00
Gary Gregory
f02f8cbc5d Add missing @Deprecated 2023-11-19 09:52:29 -05:00
Gary Gregory
12ae9e6324 Remove obsolete comments
Move static block
2023-11-19 09:51:16 -05:00
Gary Gregory
98e559141d Better local names 2023-11-19 09:41:32 -05:00
Gary Gregory
1f3ec507c4 No need to use a FQCN for String here 2023-11-19 09:39:24 -05:00
Gary Gregory
33af4b50dc Better comment and name 2023-11-19 09:38:27 -05:00
Gary Gregory
8ae9ca7740 Remove redundant final (PMD) 2023-11-19 09:38:16 -05:00
Gary Gregory
b7a456d06e Remove redundant final (PMD) 2023-11-19 09:36:19 -05:00
Gary Gregory
f03afeb1d9 Remove redundant final (PMD) 2023-11-19 09:35:18 -05:00
Gary Gregory
f0059b24d2 Use compact array declaration 2023-11-19 09:24:17 -05:00
Gary Gregory
523fe7a6c5 Sort members 2023-11-19 09:02:18 -05:00
Gary Gregory
b10322e41e Use Checkstyle sortStaticImportsAlphabetically 2023-11-19 09:01:36 -05:00
Piotr P. Karwasz
6ad06e9074 LOGGING-185: Fix failing tests (#180)
* Fix names of deployed artifacts

We remove the obsolete `finalName` property and fix the Maven Failsafe
executions.

* Fix failing tests

* Reenable integration tests

* Disable SecurityManager tests on Java 21

* Simplify build workflow

* Set `fail-fast` to false

* Fix NPEs caused by `String.trim()`

* Span a different JVM per test case
2023-11-18 19:36:11 -05:00
Gary Gregory
c5b3edd506 Javadoc 2023-11-11 16:15:49 -05:00
Piotr P. Karwasz
946711e0a6 Add support for Log4j API and SLF4J (#177)
The logging backends supported by the default `LogFactoryImpl` have all
reached their end-of-life (except JUL and `SimpleLog`). Third-generation
logging backends, such as Log4j Core, support multiple logger contexts
per application and therefore can not be handled by the simplified
caching mechanism in `LogFactoryImpl`.

This PR introduces two new `LogFactory` implementations,
`Log4j2LogFactory` and `Slf4jLogFactory`, that forward messages to the
Log4j API and SLF4J.

During initialization the three existing factories are checked in the
following order:
 1. the `Log4j2LogFactory` has highest priority, since the Log4j API can
    faithfully transmit messages of type `Object`,
 2. the `Slf4jLogFactory` is the next choice. However, if the
    Log4j-to-SLF4J bridge is present we log directly through SLF4J
    instead of the Log4j API.
 3. the legacy `LogFactoryImpl` has lowest priority.
2023-11-03 11:19:14 -04:00
Gary Gregory
b7f50da2aa Normalize setter Javadoc 2023-10-31 07:10:27 -04:00
Gary Gregory
ba145fb114 Normalize getter Javadoc 2023-10-31 06:51:30 -04:00
Gary Gregory
28c175b8c8 Fix spelling 2023-10-31 06:27:13 -04:00
Gary Gregory
cdb9ef5ce4 Remove unused parameter from private method 2023-10-22 07:50:59 -04:00
Gary Gregory
5cbd34c654 Format tweaks 2023-10-22 07:50:05 -04:00
Gary Gregory
23206cb098 Use Java 1.4 API 2023-10-22 07:48:38 -04:00