package space.npstr.wolfia.config;

public class RequestLoggerConfig {
}

@@ -1,73 +1,1471 @@
-package space.npstr.wolfia.config;%0A%0Apublic class RequestLoggerConfig %7B
+/*%0A * Copyright (C) 2016-2020 Dennis Neufeld%0A *%0A * This program is free software: you can redistribute it and/or modify%0A * it under the terms of the GNU Affero General Public License as published%0A * by the Free Software Foundation, either version 3 of the License, or%0A * (at your option) any later version.%0A *%0A * This program is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A * GNU Affero General Public License for more details.%0A *%0A * You should have received a copy of the GNU Affero General Public License%0A * along with this program.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A */%0A%0Apackage space.npstr.wolfia.config;%0A%0Aimport org.springframework.context.annotation.Bean;%0Aimport org.springframework.context.annotation.Configuration;%0Aimport org.springframework.web.filter.CommonsRequestLoggingFilter;%0A%0A/**%0A * Turn on with %7B@code org.springframework.web.filter.CommonsRequestLoggingFilter: DEBUG%7D%0A */%0A@Configuration%0Apublic class RequestLoggerConfig %7B%0A%0A    @Bean%0A    public CommonsRequestLoggingFilter logFilter() %7B%0A        CommonsRequestLoggingFilter filter = new CommonsRequestLoggingFilter();%0A        filter.setIncludeQueryString(true);%0A        filter.setIncludePayload(true);%0A        filter.setMaxPayloadLength(10000);%0A        filter.setIncludeHeaders(true);%0A        filter.setIncludeClientInfo(true);%0A        return filter;%0A    %7D%0A
 %0A%7D%0A

Add request debug logger