source: apps/routerconsole/jsp/logs.jsp

Last change on this file was b8437cd, checked in by zzz <zzz@…>, 3 years ago

Console: Catch ISE in get/setAttribute() (ticket #1529)

  • Property mode set to 100644
File size: 4.1 KB
Line 
1<%@page contentType="text/html"%>
2<%@page pageEncoding="UTF-8"%>
3<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
5<html><head>
6<%@include file="css.jsi" %>
7<%=intl.title("logs")%>
8<script src="/js/ajax.js" type="text/javascript"></script>
9<%@include file="summaryajax.jsi" %>
10</head><body onload="initAjax()">
11<%@include file="summary.jsi" %>
12<h1><%=intl._t("I2P Router Logs")%></h1>
13<div class="main" id="logs">
14
15<table id="bugreports"><tbody>
16  <tr><td class="infohelp">
17<%=intl._t("Please include your I2P version and running environment information in bug reports")%>.
18<%=intl._t("Note that system information, log timestamps, and log messages may provide clues to your location; please review everything you include in a bug report.")%>
19<% /* note to translators - both parameters are URLs */
20%><%=intl._t("Please report bugs on {0} or {1}.",
21          "<a href=\"http://trac.i2p2.i2p/\">trac.i2p2.i2p</a>",
22          "<a href=\"https://trac.i2p2.de/\">trac.i2p2.de</a>")%>
23  </td></tr>
24</tbody></table>
25
26<h3 class="tabletitle"><%=intl._t("I2P Version and Running Environment")%></h3><a name="version"> </a>
27<table id="enviro"><tbody>
28<tr><td><b>I2P version:</b></td><td><%=net.i2p.router.RouterVersion.FULL_VERSION%></td></tr>
29<tr><td><b>Java version:</b></td><td><%=System.getProperty("java.vendor")%> <%=System.getProperty("java.version")%> (<%=System.getProperty("java.runtime.name")%> <%=System.getProperty("java.runtime.version")%>)</td></tr>
30 <jsp:useBean class="net.i2p.router.web.helpers.LogsHelper" id="logsHelper" scope="request" />
31 <jsp:setProperty name="logsHelper" property="contextId" value="<%=i2pcontextId%>" />
32<jsp:getProperty name="logsHelper" property="unavailableCrypto" />
33<tr><td><b>Wrapper version:</b></td><td><%=System.getProperty("wrapper.version", "none")%></td></tr>
34<tr><td><b>Server version:</b></td><td><jsp:getProperty name="logsHelper" property="jettyVersion" /></td></tr>
35<tr><td><b>Servlet version:</b></td><td><%=getServletInfo()%></td></tr>
36<tr><td><b>JSTL version:</b></td><td><jsp:getProperty name="logsHelper" property="jstlVersion" /></td></tr>
37<tr><td><b>Platform:</b></td><td><%=System.getProperty("os.name")%> <%=System.getProperty("os.arch")%> <%=System.getProperty("os.version")%></td></tr>
38<tr><td><b>Processor:</b></td><td>
39<%
40   boolean isX86 = net.i2p.util.SystemVersion.isX86();
41   if (isX86) {
42%> <%=net.i2p.util.NativeBigInteger.cpuModel()%>
43<%
44   }
45%> (<%=net.i2p.util.NativeBigInteger.cpuType()%>)</td></tr>
46<tr><td><b>JBigI status:</b></td><td><%=net.i2p.util.NativeBigInteger.loadStatus()%></td></tr>
47<tr><td><b>GMP version:</b></td><td><%=net.i2p.util.NativeBigInteger.getLibGMPVersion()%></td></tr>
48<tr><td><b>JBigI version:</b></td><td><%=net.i2p.util.NativeBigInteger.getJbigiVersion()%></td></tr>
49<%
50   if (isX86) {
51%><tr><td><b>JCpuId version:</b></td><td><%=freenet.support.CPUInformation.CPUID.getJcpuidVersion()%></td></tr>
52<%
53   }
54%><tr><td><b>Encoding:</b></td><td><%=System.getProperty("file.encoding")%></td></tr>
55<tr><td><b>Charset:</b></td><td><%=java.nio.charset.Charset.defaultCharset().name()%></td></tr>
56<tr><td><b>Built By:</b></td><td><jsp:getProperty name="logsHelper" property="builtBy" /></tbody></table>
57
58<h3 class="tabletitle"><%=intl._t("Critical Logs")%></h3>
59<table id="criticallogs" class="logtable"><tbody>
60<tr><td>
61 <jsp:getProperty name="logsHelper" property="criticalLogs" />
62</td></tr>
63</tbody></table>
64
65<h3 class="tabletitle"><%=intl._t("Router Logs")%>&nbsp;<a title="<%=intl._t("Configure router logging options")%>" href="configlogging">[<%=intl._t("Configure")%>]</a></h3>
66<table id="routerlogs" class="logtable"><tbody>
67<tr><td>
68 <jsp:getProperty name="logsHelper" property="logs" />
69</td></tr>
70</tbody></table>
71
72<h3 class="tabletitle"><%=intl._t("Event Logs")%></h3>
73<table id="eventlogs" class="logtable"><tbody>
74<tr><td>
75 <!-- 90 days --><p><a href="events?from=7776000000"><%=intl._t("View event logs")%></a></p>
76</td></tr>
77</tbody></table>
78
79<h3 class="tabletitle" id="servicelogs"><%=intl._t("Service (Wrapper) Logs")%></h3>
80<table id="wrapperlogs" class="logtable"><tbody>
81<tr><td>
82 <jsp:getProperty name="logsHelper" property="serviceLogs" />
83</td></tr>
84</tbody></table>
85</div></body></html>
Note: See TracBrowser for help on using the repository browser.