Catalina.out logs in TomCat 9 in JSON format

Kiri11.ADV1

New Member
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
 


$100 Digital Ocean Credit
Get a free VM to test out Linux!

Staff online

Members online


Top