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?

The log files are being created, just not where you expect.
Be extra careful on where you specify your output files and directories.
Since you are using Windows Service features ... don't rely on relative paths, use full paths in your slf4j/log4j configurations.

Joakim Erdfelt / joakim@xxxxxxxxxxx

On Thu, Oct 22, 2015 at 7: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.

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top