How to enable logging in jetty?

后端 未结 2 1829
清酒与你
清酒与你 2021-02-02 17:28

I am trying to debug my case, where simple ActiveWeb application is not running under Jetty. It behaves as if no any classes for request processing exist and return error 404.

2条回答
  •  旧时难觅i
    2021-02-02 17:31

    In my case, I've solved it by following the recommendations in the documentation page (Default Logging with Jetty’s StdErrLog) and adding the following line in the start.ini file: --module=console-capture

    I know this is only one way of solving your problem, but it worked out pretty well for me. After restarting the service, I could already see a log file in the logs subdirectory.

提交回复
热议问题