[
https://issues.apache.org/jira/browse/WW-5454?focusedWorklogId=928629&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-928629
]
ASF GitHub Bot logged work on WW-5454:
--------------------------------------
Author: ASF GitHub Bot
Created on: 03/Aug/24 10:29
Start Date: 03/Aug/24 10:29
Worklog Time Spent: 10m
Work Description: kusalk commented on code in PR #1010:
URL: https://github.com/apache/struts/pull/1010#discussion_r1702680866
##########
core/src/main/java/com/opensymphony/xwork2/util/DebugUtils.java:
##########
@@ -37,4 +42,12 @@ public static void notifyDeveloperOfError(Logger log, Object
action, String mess
}
}
+ /**
+ * @since 7.0
+ */
+ public static void logWarningForFirstOccurrence(String key, Logger log,
String msg, Object... args) {
Review Comment:
This method isn't really a `DebugUtils` method but couldn't think of a
better home - can create a separate class if you prefer
Issue Time Tracking
-------------------
Worklog Id: (was: 928629)
Time Spent: 20m (was: 10m)
> Log warnings on startup for disabled critical security features
> ---------------------------------------------------------------
>
> Key: WW-5454
> URL: https://issues.apache.org/jira/browse/WW-5454
> Project: Struts 2
> Issue Type: Improvement
> Components: Core
> Reporter: Kusal Kithul-Godage
> Priority: Minor
> Fix For: 7.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)