DEV Community

Japa Vinay Teja
Japa Vinay Teja

Posted on

Need a rest call in each line of springboot application logs starting with tomcat server

In each line of the logs i need a rest call in springboot application starting with tomcat server.

Current log:

[2020-06-06 HH:MM:SS] [INFO] [https-jsse-nio-9005-exec-2] [com.test.firstapp]-hello world

Expected log:

[2020-06-06 HH:MM:SS] [INFO] [GET /myfirstapp/hello] [com.test.firstapp]-hello world

Please help me to do this.

Top comments (0)