0

I'm currently building a spring boot application using gcp app engine version 2 and I would like to add a pattern to stack driver and console to display function name / line number / class name (like logs displayed in app engine first gen)

I want to change this:

(https://i.stack.imgur.com/6TfSD.png)

to something like this:

(https://i.stack.imgur.com/sxP2g.png)

logback-spring.xml:

(https://i.stack.imgur.com/E5TMn.png)

Also it is not a must you use logback, so if there is any other way to output the desired logs (and works with spring boot and app engine second gen) I can switch to it

0 Answers0