Skip to content

TINKERPOP-2534 Switched test/distribution logging to logback#1444

Merged
spmallette merged 1 commit intomasterfrom
TINKERPOP-2534
Jun 22, 2021
Merged

TINKERPOP-2534 Switched test/distribution logging to logback#1444
spmallette merged 1 commit intomasterfrom
TINKERPOP-2534

Conversation

@spmallette
Copy link
Copy Markdown
Contributor

https://issues.apache.org/jira/browse/TINKERPOP-2534

There is a CVE with log4j 1.2 which EOL'd 5 years ago. We haven't really focused on changing this earlier because log4j is an optional dependency and can be swapped out by the user to their preferred logging provider given that we use slf4j. That said, it's better that we simply not include it in our distributions and docker packaging would work better out of the box without the CVE struck log4j in the mix. logback is dual licensed, but given that one of those licenses is under EPL we can make use of it - see https://issues.apache.org/jira/browse/LEGAL-63 for futher details if needed.

All tests pass with docker/build.sh -t -n -i. Logging tested for server/console distributions and their respective docker containers. Test logging seems correct as well since Travis passed.

VOTE +1

There is a CVE with log4j 1.2 which EOL'd 5 years ago. We haven't really focused on changing this earlier because log4j is an optional dependency and can be swapped out by the user to their preferred logging provider given that we use slf4j. That said, it's better that we simply not include it in our distributions and docker packaging would work better out of the box without the CVE struck log4j in the mix. logback is dual licensed, but given that one of those licenses is under EPL we can make use of it - see https://issues.apache.org/jira/browse/LEGAL-63 for futher details if needed.
@spmallette spmallette merged commit 465954b into master Jun 22, 2021
@spmallette spmallette deleted the TINKERPOP-2534 branch June 22, 2021 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant