source: apps/routerconsole/jsp/logs.jsp @ 6bdf25bc

Last change on this file since 6bdf25bc was 6bdf25bc, checked in by zzz <zzz@…>, 5 years ago

Console: Only display cpuid information on x86

  • Property mode set to 100644
File size: 3.3 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="main">
14<div class="joblog"><h3><%=intl._t("I2P Version and Running Environment")%></h3><a name="version"> </a>
15<p>
16<% /* note to translators - both parameters are URLs */
17%><%=intl._t("Please report bugs on {0} or {1}.",
18          "<a href=\"http://trac.i2p2.i2p/newticket\">trac.i2p2.i2p</a>",
19          "<a href=\"https://trac.i2p2.de/newticket\">trac.i2p2.de</a>")%>
20<!--
21<%=intl._t("You may use the username \"guest\" and password \"guest\" if you do not wish to register.")%>
22-->
23<p><i><%=intl._t("Please include this information in bug reports")%>:</i>
24 <p>
25<b>I2P version:</b> <%=net.i2p.router.RouterVersion.FULL_VERSION%><br>
26<b>Java version:</b> <%=System.getProperty("java.vendor")%> <%=System.getProperty("java.version")%> (<%=System.getProperty("java.runtime.name")%> <%=System.getProperty("java.runtime.version")%>)<br>
27 <jsp:useBean class="net.i2p.router.web.LogsHelper" id="logsHelper" scope="request" />
28 <jsp:setProperty name="logsHelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
29<jsp:getProperty name="logsHelper" property="unavailableCrypto" />
30<b>Wrapper version:</b> <%=System.getProperty("wrapper.version", "none")%><br>
31<b>Server version:</b> <jsp:getProperty name="logsHelper" property="jettyVersion" /><br>
32<b>Servlet version:</b> <%=getServletInfo()%><br>
33<b>JSTL version:</b> <jsp:getProperty name="logsHelper" property="jstlVersion" /><br>
34<b>Platform:</b> <%=System.getProperty("os.name")%> <%=System.getProperty("os.arch")%> <%=System.getProperty("os.version")%><br>
35<%
36   boolean isX86 = net.i2p.util.SystemVersion.isX86();
37   if (isX86) {
38%><b>Jcpuid version:</b> <%=freenet.support.CPUInformation.CPUID.getJcpuidVersion()%><br>
39<%
40   }
41%><b>Processor:</b>
42<%
43   if (isX86) {
44%> <%=net.i2p.util.NativeBigInteger.cpuModel()%>
45<%
46   }
47%> (<%=net.i2p.util.NativeBigInteger.cpuType()%>)<br>
48<b>Jbigi:</b> <%=net.i2p.util.NativeBigInteger.loadStatus()%><br>
49<b>Jbigi version:</b> <%=net.i2p.util.NativeBigInteger.getJbigiVersion()%><br>
50<b>GMP version:</b> <%=net.i2p.util.NativeBigInteger.getLibGMPVersion()%><br>
51<b>Encoding:</b> <%=System.getProperty("file.encoding")%><br>
52<b>Charset:</b> <%=java.nio.charset.Charset.defaultCharset().name()%><br>
53</p>
54<p><%=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.")%></p>
55<h3><%=intl._t("Critical Logs")%></h3><a name="criticallogs"> </a>
56 <jsp:getProperty name="logsHelper" property="criticalLogs" />
57<h3><%=intl._t("Router Logs")%> (<a href="configlogging"><%=intl._t("configure")%></a>)</h3>
58 <jsp:getProperty name="logsHelper" property="logs" />
59<h3><%=intl._t("Event Logs")%></h3>
60 <a href="events"><%=intl._t("View event logs")%></a>
61<h3><%=intl._t("Service (Wrapper) Logs")%></h3><a name="servicelogs"> </a>
62 <jsp:getProperty name="logsHelper" property="serviceLogs" />
63</div></div></body></html>
Note: See TracBrowser for help on using the repository browser.