Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] How to enable sl4j logging with log4j in jetty when jetty is installed as a windows service?

How to enable sl4j logging with log4j in jetty when jetty is installed as a windows service?

Note:

1. Enabled SL4j with log4j and it works fine if I start jetty using windows command prompt.

2. Installed jetty as windows service using the below instructions.
  
    http://www.eclipse.org/jetty/documentation/current/startup-windows-service.html

  (If i start jetty as windows service log files configured in log4j are not creating.

On Thu, Oct 22, 2015 at 10:58 PM, Mohan Kumar G <mohan.gundappa@xxxxxxxxx> wrote:

How to enable sl4j logging with log4j in jetty when jetty is installed as a windows service?

Note:

1. Enabled SL4j with log4j and it works fine if I start jetty using windows command prompt.

2. Installed jetty as windows service using the below instructions.
  
    http://www.eclipse.org/jetty/documentation/current/startup-windows-service.html

  (If i start jetty as windows service log files configured in log4j are not creating.


Back to the top