Catalina.out logs in TomCat 9 in JSON format

Kiri11.ADV1

New Member
Joined
Mar 5, 2021
Messages
2
Reaction score
0
Credits
18
Hello

Please tell me how to keep catalina.out logs in TomCat 9 in JSON format (you can transfer them to another file, for example 1234. log, but in JSON format)

It is necessary to add the static parameter "Program":"Tomcat" to each JSON line-so it is necessary

thanks
 




Top