Skip to content

Commit ffd85c3

Browse files
authored
Update Log4j.java
1 parent 2ef76b1 commit ffd85c3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/org/joychou/controller/Log4j.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ public class Log4j {
1616
* Fix: Update log4j to lastet version.
1717
*/
1818
@RequestMapping(value = "/log4j")
19-
public String log4j(Authorization authorization) {
20-
logger.error("authorization is: {}", authorization);
21-
return authorization.toString();
19+
public String log4j(String token) {
20+
logger.error(token);
21+
return token;
2222
}
2323

2424
public static void main(String[] args) {

0 commit comments

Comments
 (0)