source: apps/routerconsole/jsp/configlogging.jsp @ 35da3f3

Last change on this file since 35da3f3 was 35da3f3, checked in by sponge <sponge@…>, 11 years ago

HTML bugfixes in routerconsole pages.

  • Property mode set to 100644
File size: 3.5 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<title>I2P Router Console - config logging</title>
7<%@include file="css.jsp" %>
8</head><body>
9<jsp:useBean class="net.i2p.router.web.ConfigLoggingHelper" id="logginghelper" scope="request" />
10<jsp:setProperty name="logginghelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
11
12<%@include file="summary.jsp" %>
13<h1>I2P Logging Configuration</h1>
14<div class="main" id="main">
15 <%@include file="confignav.jsp" %>
16
17 <jsp:useBean class="net.i2p.router.web.ConfigLoggingHandler" id="formhandler" scope="request" />
18 <jsp:setProperty name="formhandler" property="*" />
19 <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
20 <jsp:getProperty name="formhandler" property="allMessages" />
21<div class="configure">
22 <form action="configlogging.jsp" method="POST">
23 <% String prev = System.getProperty("net.i2p.router.web.ConfigLoggingHandler.nonce");
24    if (prev != null) System.setProperty("net.i2p.router.web.ConfigLoggingHandler.noncePrev", prev);
25    System.setProperty("net.i2p.router.web.ConfigLoggingHandler.nonce", new java.util.Random().nextLong()+""); %>
26 <input type="hidden" name="nonce" value="<%=System.getProperty("net.i2p.router.web.ConfigLoggingHandler.nonce")%>" />
27 <input type="hidden" name="action" value="blah" />
28 <h3>Configure I2P Logging Options</h3>
29 <div class="wideload">
30      <table border="0" cellspacing="5">
31        <tr><td class="mediumtags" align="right"><b>Logging filename:</b></td>
32          <td><input type="text" name="logfilename" size="40" value="<jsp:getProperty name="logginghelper" property="logFilePattern" />" />
33          <br><i>(the symbol '@' will be replaced during log rotation)</i></td>
34        </tr><tr><td class="mediumtags" align="right"><b>Log record format:</b></td>
35          <td><input type="text" name="logformat" size="20" value="<jsp:getProperty name="logginghelper" property="recordPattern" />" />
36            <br> <i>(use 'd' = date, 'c' = class, 't' = thread, 'p' = priority,
37            'm' = message)</i></td>
38        </tr><tr><td class="mediumtags" align="right"><b>Log date format:</b></td>
39          <td><input type="text" name="logdateformat" size="20" value="<jsp:getProperty name="logginghelper" property="datePattern" />" />
40            <br> <i>('MM' = month, 'dd' = day, 'HH' = hour, 'mm' = minute, 'ss'
41            = second, 'SSS' = millisecond)</i></td>
42        </tr><tr><td class="mediumtags" align="right"><b>Max log file size:</b></td>
43          <td><input type="text" name="logfilesize" size="4" value="<jsp:getProperty name="logginghelper" property="maxFileSize" />" /><br></td>
44        </tr><tr><td class="mediumtags" align="right"><b>Default log level:</b></td>
45          <td><jsp:getProperty name="logginghelper" property="defaultLogLevelBox" /><br><i>(DEBUG and INFO are not recommended defaults,
46            as they will drastically slow down your router)</i></td>
47        </tr><tr><td class="mediumtags" align="right"><b>Log level overrides:</b></td>
48          <td><jsp:getProperty name="logginghelper" property="logLevelTable" /></td>
49        </tr><tr><td colspan="2"><hr></td>
50        </tr><tr><td> <div align="right">
51          <input type="submit" name="shouldsave" value="Save changes" />
52          <input type="reset" value="Cancel" />
53</div></td></tr></table></div></form></div></div></body></html>
Note: See TracBrowser for help on using the repository browser.