Tried adding log4j with jetty using below command but getting this error
java -jar ../start.jar --add-to-start=logging-log4j
org.eclipse.jetty.start.graph.GraphException: Missing referenced dependency: logging-log4j
at org.eclipse.jetty.start.graph.Graph.selectNodes(Graph.java:470)
at org.eclipse.jetty.start.BaseBuilder.build(BaseBuilder.java:152)
at org.eclipse.jetty.start.Main.start(Main.java:407)
at org.eclipse.jetty.start.Main.main(Main.java:75)
Usage: java -jar start.jar [options] [properties] [configs]
java -jar start.jar --help # for more information
Thanks and regards,
Himanshu Gupta
Accenture Interactive (AI)
Gurgaon, India
Mobile: +91 9910070743
E Mail: himanshu.gpt@xxxxxxxxxxxxx
From: jetty-users-bounces@xxxxxxxxxxx [mailto:jetty-users-bounces@xxxxxxxxxxx]
On Behalf Of Jan Bartel
Sent: Wednesday, April 26, 2017 2:48 PM
To: JETTY user mailing list <jetty-users@xxxxxxxxxxx>
Subject: Re: [jetty-users] Jetty logs rollover if log file size exceeds certain limit
On 26 April 2017 at 13:13, <himanshu.gpt@xxxxxxxxxxxxx> wrote:
Hi,
We are using Jetty 9.3 and need to rollover the jetty logs based on its size (if size greater than 5MB,
rollover log file upto 30 max files) similar to the way we do with log4j.
Can we do it simply by changing the jetty logging configuration or we need some custom implementation
to achieve the same.
Thanks and regards,
Himanshu Gupta
Accenture Interactive (AI)
Gurgaon, India
Mobile: +91 9910070743
E Mail: himanshu.gpt@xxxxxxxxxxxxx
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by
you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of
internal compliance with Accenture policy.
______________________________________________________________________________________
www.accenture.com
_______________________________________________
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
--