snoopdave commented on code in PR #244:
URL: https://github.com/apache/roller/pull/244#discussion_r4573832127
##########
app/src/main/resources/log4j2.xml:
##########
@@ -74,6 +74,11 @@ limitations under the License.
<Logger name="org.apache.velocity" level="info"
additivity="false"> <AppenderRef ref="asyncRoller"/> </Logger>
<Logger name="org.springframework" level="info"
additivity="false"> <AppenderRef ref="asyncRoller"/> </Logger>
<Logger name="org.apache.struts2" level="info"
additivity="false"> <AppenderRef ref="asyncRoller"/> </Logger>
+ <!-- Struts logs a full stack trace for every request to an unknown
.rol URL; the user gets a 404 -->
+ <Logger name="org.apache.struts2.dispatcher.Dispatcher" level="info"
additivity="false">
+ <RegexFilter regex="Could not find action or result: .*"
onMatch="DENY" onMismatch="NEUTRAL"/>
+ <AppenderRef ref="asyncRoller"/>
+ </Logger>
Review Comment:
🤖Claude: fixed in e5932f218 by deleting the whole Dispatcher logger block
(comment, RegexFilter and logger), not only this line, so Struts logs the
message again.
##########
CHANGES.md:
##########
@@ -41,6 +41,15 @@
- **The rich text editor's menus show their labels again.** Summernote is
upgraded to 0.9.1, and the panel chevron no longer appears on the
editor's menu items.
+- **Fixes found while upgrading a 6.1 site to a 7.0.0 snapshot.**
+ - The database create and upgrade result pages show a clear status, one
+ Start Roller button, and the script output in a panel you can expand.
+ - The media library opens for weblogs that have no default media folder;
+ it creates the folder instead of failing.
+ - A custom template with no content logs one warning line instead of a
+ stack trace, and requests for unknown pages no longer log one either.
Review Comment:
🤖Claude: fixed in e5932f218 by using your wording: "A custom template with
no content logs one warning line instead of a stack trace."
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]