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 / [email protected]

On Thu, Oct 22, 2015 at 7:58 PM, Mohan Kumar G <[email protected]>
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
> <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
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to