Add Certs, Docker Build
[aaf/authz.git] / auth / auth-gui / src / main / java / org / onap / aaf / auth / gui / AAF_GUI.java
index be93d63..7d2a017 100644 (file)
@@ -68,6 +68,7 @@ import org.onap.aaf.auth.gui.pages.WebCommand;
 import org.onap.aaf.auth.rserv.CachingFileAccess;
 import org.onap.aaf.auth.server.AbsService;
 import org.onap.aaf.auth.server.JettyServiceStarter;
+import org.onap.aaf.auth.server.Log4JLogIt;
 import org.onap.aaf.cadi.CadiException;
 import org.onap.aaf.cadi.LocatorException;
 import org.onap.aaf.cadi.PropAccess;
@@ -254,10 +255,11 @@ public class AAF_GUI extends AbsService<AuthzEnv, AuthzTrans> implements State<E
        }
 
        public static void main(final String[] args) {
-               PropAccess propAccess = new PropAccess(args);
                try {
-                       AAF_GUI service = new AAF_GUI(new AuthzEnv(propAccess));
-//                     env.setLog4JNames("log4j.properties","authz","gui","audit","init","trace ");
+                       Log4JLogIt logIt = new Log4JLogIt(args, "gui");
+                       PropAccess propAccess = new PropAccess(logIt,args);
+
+                       AAF_GUI service = new AAF_GUI(new AuthzEnv(propAccess));
                        JettyServiceStarter<AuthzEnv,AuthzTrans> jss = new JettyServiceStarter<AuthzEnv,AuthzTrans>(service);
                        jss.start();
                } catch (Exception e) {