package ru.n5g.stepic.webservice;

import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.servlet.ServletContextHandler;
import org.eclipse.jetty.servlet.ServletHolder;
import ru.n5g.stepic.webservice.servlets.AllGetRequestsServlet;

import static org.eclipse.jetty.servlet.ServletContextHandler.SESSIONS;

/**
 * @author Gleb Belyaev
 * @version 1.0
 * @since 22.12.15
 */
public class AppMain {
    public static void main(String[] args) throws Exception {
        AllGetRequestsServlet allGetRequests = new AllGetRequestsServlet();

        ServletContextHandler context = new ServletContextHandler(SESSIONS);
        context.addServlet(new ServletHolder(allGetRequests), "/*");

        Server server = new Server(8080);
        server.setHandler(context);
        server.start();
        server.join();
    }
}

@@ -168,24 +168,81 @@
 vletHolder;%0A
+import org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0A
 import ru.n5
@@ -293,16 +293,16 @@
 ervlet;%0A
-
 %0Aimport 
@@ -453,24 +453,106 @@
 s AppMain %7B%0A
+    private static final Logger LOGGER = LoggerFactory.getLogger(AppMain.class);%0A%0A
     public s
@@ -903,16 +903,16 @@
 ntext);%0A
-
         
@@ -923,24 +923,63 @@
 er.start();%0A
+        LOGGER.info(%22Server started%22);%0A
         serv

add logging in Main class