svnno****@sourc*****
svnno****@sourc*****
2008年 11月 4日 (火) 15:43:51 JST
Revision: 1280 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=1280 Author: shinsuke Date: 2008-11-04 15:43:51 +0900 (Tue, 04 Nov 2008) Log Message: ----------- replaced with context.log. Modified Paths: -------------- pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/commons/src/java/org/apache/jetspeed/container/JetspeedContainerServlet.java -------------- next part -------------- Modified: pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/commons/src/java/org/apache/jetspeed/container/JetspeedContainerServlet.java =================================================================== --- pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/commons/src/java/org/apache/jetspeed/container/JetspeedContainerServlet.java 2008-11-04 05:37:57 UTC (rev 1279) +++ pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/commons/src/java/org/apache/jetspeed/container/JetspeedContainerServlet.java 2008-11-04 06:43:51 UTC (rev 1280) @@ -143,7 +143,7 @@ { Object[] args = new Object[] {INIT_START_MSG + contextName}; - log.log("0100001", args); // REPLACED + getServletContext().log(log.getString("0100001", args)); // REPLACED } try { @@ -157,7 +157,7 @@ // System.err.println(message); Object[] args = new Object[] {message}; - log.log("0100002", args, e); // REPLACED + getServletContext().log(log.getString("0100002", args), e); // REPLACED throw new ServletException(log.getString("0100002", args), e); } @@ -167,7 +167,7 @@ { Object[] args = new Object[] {INIT_DONE_MSG + contextName}; - log.log("0100003", args); // REPLACED + getServletContext().log(log.getString("0100003", args)); // REPLACED } } } @@ -197,7 +197,7 @@ { Object[] args = new Object[] {START_DELAYED_MSG}; - log.log("0100004", args); // REPLACED + getServletContext().log(log.getString("0100004", args)); // REPLACED } startTimer = new Timer(true); // TODO Findbugs @@ -238,7 +238,7 @@ { Object[] args = new Object[] {TRY_START_MSG + contextPath}; - log.log("0100005", args); // REPLACED + getServletContext().log(log.getString("0100005", args)); // REPLACED } PortletServices services = JetspeedPortletServices.getSingleton(); if (services != null) @@ -261,7 +261,7 @@ { Object[] args = new Object[] {STARTED_MSG + contextPath}; - log.log("0100006", args); // REPLACED + getServletContext().log(log.getString("0100006", args)); // REPLACED } return true; } @@ -274,7 +274,7 @@ { Object[] args = new Object[] {INIT_FAILED_MSG + contextPath}; - log.log("0100007", args, e); // REPLACED + getServletContext().log(log.getString("0100007", args), e); // REPLACED } return true; // don't try again } @@ -398,7 +398,7 @@ { Object[] args = new Object[] {JCS, portletName, t.toString()}; - log.log("0100008", args, t); // REPLACED + getServletContext().log(log.getString("0100008", args), t); // REPLACED } try { @@ -488,7 +488,7 @@ { Object[] args = new Object[] {JCS, t.toString()}; - log.log("0100009", args, t); // REPLACED + getServletContext().log(log.getString("0100009", args), t); // REPLACED } PrintWriter directError; try