{
"code": "INTERNAL_ERROR",
"message": "Че ты мне шлешь, псина"
}
{
"code": "INTERNAL_ERROR",
"message": "Че ты мне шлешь, псина",
"uid": "90d341cc-8945-4303-bd08-baaeb36032eb"
}
2020-02-14 16:08:05.630 ERROR --- a.b.c.base.CommonExceptionHelper : #### Exception UUID: 90d341cc-8945-4303-bd08-baaeb36032eb ####
Required parameter 'ololo' is not present
public Some method(long id) {
Some some = someRepository.getById(id);
if (somme.getInnerSome() == null) {
some.setInnerSome(anotherService.getInnerSome(id));
}
lod.debug("method: Finished with: {}, for id: {}", some, id);
return some;
}
public Some method(long id) {
log.trace("method: Started with id: {}.", id);
Some some = someService.getById(id);
if (some.getInnerSome() == null) {
Some innerSome = anotherService.getInnerSome(id);
log.debug("method: AnotherService#getInnerSome finished with: {}", innerSome);
some.setInnerSome(innerSome);
}
log.debug("method: Finished for id {} with: {}", id, some);
return some;
}
2020-02-14 01:03:52.619 DEBUG --- Some : someMethod: {some data}
2020-02-14 01:03:52.613 DEBUG --- Some : someMethod: {some data}
2020-02-14 01:03:56.855 DEBUG --- Some : someMethod: {some data}
2020-02-14 01:03:56.856 DEBUG --- Some : someMethod: {some data}
2020-02-14 01:03:57.779 DEBUG --- Some : someMethod: {some data}
2020-02-14 01:03:57.779 DEBUG --- Some : someMethod: {some data}
2020-02-14 01:03:52.619 DEBUG [930b7e12eb58f9d1] --- Some : someMethod: {some data}
2020-02-14 01:03:52.613 DEBUG [0fb03fb24ee402a8] --- Some : someMethod: {some data}
2020-02-14 01:03:56.855 DEBUG [ec285e3363cb9687] --- Some : someMethod: {some data}
2020-02-14 01:03:56.856 DEBUG [0fb03fb24ee402a8] --- Some : someMethod: {some data}
2020-02-14 01:03:57.779 DEBUG [ec285e3363cb9687] --- Some : someMethod: {some data}
2020-02-14 01:03:57.779 DEBUG [930b7e12eb58f9d1] --- Some : someMethod: {some data}
2020-02-14 11:49:09.302 DEBUG --- ControllerLoggingFilter : GET /api/v1/test start with details: '{body={"param1":"value1","param2":"value2"}, headers={Accept=application/json, Accept-Encoding=gzip,deflate, Content-Type=application/json}}'
...
2020-02-14 11:49:09.302 DEBUG --- ControllerLoggingFilter : GET /api/v1/test end with status '200' and details: '{"data":{"param":"value"},"error":null}'