Last active
July 5, 2023 19:20
-
-
Save michaellwest/be74798d06477d1f0151c27916520f87 to your computer and use it in GitHub Desktop.
Gists related to blogpost https://michaellwest.blogspot.com/2023/07/sxa-search-endpoint-validation.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> | |
<log4net> | |
<!-- Add a StringMatchFilter into the LogFileAppender --> | |
<appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender, Sitecore.Logging"> | |
<filter type="log4net.Filter.StringMatchFilter"> | |
<stringToMatch value="Results endpoint exception" /> | |
<acceptOnMatch value="false" /> | |
</filter> | |
</appender> | |
</log4net> | |
</sitecore> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment