Tomcat, Docker, Logging, and STDOUT?

后端 未结 6 1036
南旧
南旧 2021-01-19 12:17

I\'m running tomcat in docker, but I can\'t see the logs. They are written to various log files under tomcat/logs, but I can\'t see them when tomcat is running in a docker c

6条回答
  •  心在旅途
    2021-01-19 12:33

    Below worked for me in Tomcat 9.0.37:

    Instead of using ./statup.sh, use ./catalina.sh run to start the tomcat server.

    ( Cheers

提交回复
热议问题