Skip to content

Conversation

amcghie
Copy link
Contributor

@amcghie amcghie commented Feb 26, 2019

Added support for the following additional Tomcat Access Log configuration properties:

  • server.tomcat.accessLog.checkExists
  • server.tomcat.accessLog.conditionIf
  • server.tomcat.accessLog.conditionUnless
  • server.tomcat.accessLog.encoding
  • server.tomcat.accessLog.ipv6Canonical
  • server.tomcat.accessLog.locale

Proposed solution for #16035

…rties checkExists, conditionIf, conditionUnless, encoding, ipv6Canonical, locale
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 26, 2019
@wilkinsona
Copy link
Member

This is great, thank you. Was there a reason for not adding a property for renameOnRotate?

@wilkinsona wilkinsona changed the title Added support ofr additional Tomcat access log configuration properties Added support for additional Tomcat access log configuration properties Feb 26, 2019
@amcghie
Copy link
Contributor Author

amcghie commented Feb 26, 2019

No worries. The renameOnRotate property was already present.

@wilkinsona
Copy link
Member

So it was. Sorry. I’ve edited my comment on #16035 to hopefully avoid further confusion.

@wilkinsona wilkinsona added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 6, 2019
@wilkinsona wilkinsona added this to the 2.2.x milestone Mar 6, 2019
@snicoll snicoll self-assigned this Mar 29, 2019
* Set the locale used to format timestamps in log entries and in log file
* name suffix.
*/
private String locale = Locale.getDefault().toString();
Copy link
Member

Choose a reason for hiding this comment

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

We can't really do that as the sole purpose of the field init is to express a default value that isn't dependant of the environment. I'll remove that as part of the polish.

@snicoll snicoll modified the milestones: 2.2.x, 2.2.0.M2 Mar 29, 2019
snicoll pushed a commit that referenced this pull request Mar 29, 2019
@snicoll snicoll closed this in 076e327 Mar 29, 2019
snicoll added a commit that referenced this pull request Mar 29, 2019
* pr/16039:
  Polish "Complete support for customizing Tomcat's access log"
  Complete support for customizing Tomcat's access log
@snicoll
Copy link
Member

snicoll commented Mar 29, 2019

@amcghie thank you very much for making your first contribution to Spring Boot. This is now merged in master with a polish commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants