1
0
Commit Graph

1310 Commits

Author SHA1 Message Date
Gary Gregory
159f30cb8b [LOGGING-185] Fix failing tests #180 2023-11-18 19:37:49 -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
dependabot[bot]
6edbb07301 Bump github/codeql-action from 2.22.5 to 2.22.7 (#179)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.5 to 2.22.7.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](74483a38d3...66b90a5db1)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-17 08:36:40 -05:00
Gary Gregory
c5b3edd506 Javadoc 2023-11-11 16:15:49 -05:00
Gary Gregory
e94276a98b Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-logging.git 2023-11-05 09:31:49 -05:00
Gary Gregory
dd5be155fe Make package private class final 2023-11-05 09:31:38 -05:00
Gary Gregory
a3f9d2b3b8 Add support for Log4j API and SLF4J #177 2023-11-03 11:22:31 -04: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
6167752d52 Normalize spelling to US English 2023-10-31 06:23:46 -04:00
Gary Gregory
830cebc584 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-logging.git 2023-10-27 14:56:59 -04:00
Gary Gregory
f9bc48b201 Add self 2023-10-27 07:50:52 -04:00
Gary Gregory
aee706eadc Add comment 2023-10-27 07:00:19 -04:00
dependabot[bot]
7004a57880 Bump github/codeql-action from 2.22.3 to 2.22.5 (#176)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.3 to 2.22.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](0116bc2df5...74483a38d3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-27 06:58:41 -04:00
dependabot[bot]
174c3e78fc Bump ossf/scorecard-action from 2.3.0 to 2.3.1 (#175)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](483ef80eb9...0864cf1902)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-27 06:58:29 -04:00
Gary Gregory
8dd3a59429 Fix Maven warning
[WARNING] Parameter 'headerFile' is unknown for plugin
'maven-checkstyle-plugin:3.2.2:check (default-cli)'
2023-10-26 11:58:35 -04:00
Sebb
0cb015a32e Pom is broken for the verify goal 2023-10-25 20:17:54 +01:00
Sebb
e4d68bb370 Standardise on verify goal 2023-10-25 16:57:18 +01:00
Gary Gregory
1b7fdcff53 Remove Subversion tags 2023-10-22 12:15:17 -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
34c37d6e7d Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-logging 2023-10-22 07:49:10 -04:00
Gary Gregory
23206cb098 Use Java 1.4 API 2023-10-22 07:48:38 -04:00
Sebb
f0ec0ab16a Fix up GHA badges 2023-10-21 17:17:58 +01:00
dependabot[bot]
643f350b9b Bump actions/checkout from 4.1.0 to 4.1.1 (#173)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8ade135a41...b4ffde65f4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 07:12:25 -04:00
dependabot[bot]
fc51d061ae Bump github/codeql-action from 2.22.2 to 2.22.3 (#172)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.2 to 2.22.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](d90b8d79de...0116bc2df5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 07:12:11 -04:00
Gary Gregory
98ac644aaf Fix component name references 2023-10-19 10:53:50 -04:00
Gary Gregory
32c8bd6257 Javadoc: Better wording 2023-10-19 10:50:29 -04:00
Gary Gregory
9c50425bfc Javadoc: Fix spelling 2023-10-19 10:35:59 -04:00
Gary Gregory
bc3c5461a4 Camel-case parameter and internal names
Spelling
2023-10-19 08:37:35 -04:00
Gary Gregory
73582f2c71 Better internal names
Javadoc
2023-10-19 07:37:24 -04:00
Gary Gregory
65b28b9186 Fix possible NPEs in LogFactoryImpl 2023-10-19 07:21:16 -04:00
Gary Gregory
245211c4bd Use final
Use compact array notation
Remove trailing whitespace
2023-10-18 17:06:46 -04:00
Gary Gregory
174f40d168 Organize imports 2023-10-18 17:05:12 -04:00
Gary Gregory
0b4d31d127 Sort members 2023-10-18 17:04:00 -04:00
Gary Gregory
58ec3139c2 Fix Javadoc (Java 11 on Windows)
[ERROR] C:\Users\ggregory\git\a\commons-logging\src\main\java\org\apache\commons\logging\LogFactory.java:892:
error: header used out of sequence: <H4>
[ERROR]      * <h4>ClassLoader conflicts</h4>
[ERROR]        ^
2023-10-18 16:59:30 -04:00
Piotr P. Karwasz
ca2cdfee81 [LOGGING-186] Replace custom code with ServiceLoader call (#171)
* Replace custom code with `ServiceLoader` call

* Files should end with an empty line

* Files should end with an empty line

* Comment empty block

* Comment empty block

---------

Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com>
2023-10-18 16:47:48 -04:00
Gary Gregory
2ec80207a5 Add Java 21 build to GitHub 2023-10-15 10:20:32 -04:00
dependabot[bot]
93e901d0af Bump ossf/scorecard-action from 2.2.0 to 2.3.0 (#170)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](08b4669551...483ef80eb9)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 07:38:46 -04:00
dependabot[bot]
4a6ce70f74 Bump github/codeql-action from 2.21.9 to 2.22.2 (#169)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.21.9 to 2.22.2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](ddccb87388...d90b8d79de)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 07:38:25 -04:00
Gary Gregory
01428a7c12 Normalize mvn invocation on GitHub 2023-10-11 07:47:08 -04:00
Gary Gregory
863d5612c2 64 is OK locally but not on GitHub 2023-10-10 17:29:59 -04:00
Gary Gregory
e0ca622ebd Bump commons-parent 2023-10-10 15:23:26 -04:00
Gary Gregory
42ad2ae0b6 Fix Javadoc warnings and errors 2023-10-10 15:22:39 -04:00
Christian Grobmeier
75a09ea648 fixed project name 2023-10-09 21:12:18 +00:00
Christian Grobmeier
a9b34977f4 Merge pull request #159 from SingingBush/deprecate_avalon_and_lumberjack
mark loggers for Avalon and Lumberjack as deprecated
2023-10-09 23:02:12 +02:00
Christian Grobmeier
a115c97bdd improved wording 2023-10-09 23:01:01 +02:00
Christian Grobmeier
b846931a11 improved wording 2023-10-09 23:00:35 +02:00