Skip to content

Conversation

@fmarco76
Copy link
Member

@fmarco76 fmarco76 commented Dec 4, 2025

Remove the check to pki logs folder because it is not always present.

Tomcat 10.1 [1] has modified the logging system introducing a lazy creation so log folder and file are created only if there is something to write. Therefore, the pki folder for pki webapps logs is not created since at default logging level there should be no logs.

  1. https://fedoraproject.org/wiki/Changes/Tomcat10ChangeProposal#Detailed_Description

Remove the check to pki logs folder because it is not always present.

Tomcat 10.1 [1] has modified the logging system introducing a lazy creation
so log folder and file are created only if there is something to write.
Therefore, the pki folder for pki webapps logs is not created since at
default logging level there should be no logs.

1. https://fedoraproject.org/wiki/Changes/Tomcat10ChangeProposal#Detailed_Description
@fmarco76 fmarco76 requested a review from edewata December 4, 2025 15:29
@fmarco76
Copy link
Member Author

fmarco76 commented Dec 4, 2025

The check was working when fedora move to tomcat 10 because there was a problem generating some logs as visible in the latest green test for the server which print the log in pki folder.

The error was generating from the package tomcat-jakartaee-migration which has been updated 2 weeks ago and from few days is distributed.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 4, 2025

Copy link
Contributor

@edewata edewata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks for looking into this.

@fmarco76
Copy link
Member Author

fmarco76 commented Dec 4, 2025

@edewata Thanks!

@fmarco76 fmarco76 merged commit f53863f into dogtagpki:master Dec 4, 2025
182 of 188 checks passed
@fmarco76 fmarco76 deleted the pki-folder branch December 4, 2025 16:59
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.

2 participants