[BAEL-16045] - Modified .gitignore, otherwise it is ignoring CustomeRequestLoggingFilter.java file
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -29,7 +29,7 @@ out/
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
# Maven
|
# Maven
|
||||||
log/
|
log/*
|
||||||
target/
|
target/
|
||||||
|
|
||||||
# Gradle
|
# Gradle
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
package com.baeldung.web.log.config;
|
||||||
|
|
||||||
|
import org.springframework.web.filter.CommonsRequestLoggingFilter;
|
||||||
|
|
||||||
|
public class CustomeRequestLoggingFilter extends CommonsRequestLoggingFilter {
|
||||||
|
|
||||||
|
public CustomeRequestLoggingFilter() {
|
||||||
|
super.setIncludeQueryString(true);
|
||||||
|
super.setIncludePayload(true);
|
||||||
|
super.setMaxPayloadLength(10000);
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user