I have a simple web application in which my path to / gives the error
{
    "timestamp": "2019-10-11T11:51:18.961+0000",
    "status": 401,
    "error": "Unauthorized",
    "message": "Unauthorized",
    "path": "/"
}
on hitting the path I do not get logs as well I checked this question in stackoverflow as well