forked from I2P_Developers/i2p.i2p
console: disable changing log path
This commit is contained in:
@@ -126,6 +126,7 @@ public class ConfigLoggingHandler extends FormHandler {
|
||||
}
|
||||
}
|
||||
|
||||
/*** disable
|
||||
if ( (_filename != null) && (_filename.trim().length() > 0) ) {
|
||||
_filename = _filename.trim();
|
||||
String old = _context.logManager().getBaseLogfilename();
|
||||
@@ -138,6 +139,7 @@ public class ConfigLoggingHandler extends FormHandler {
|
||||
+ " (note: will not take effect until next rotation)");
|
||||
}
|
||||
}
|
||||
***/
|
||||
|
||||
if ( (_recordFormat != null) && (_recordFormat.trim().length() > 0) ) {
|
||||
_recordFormat = _recordFormat.trim();
|
||||
|
@@ -27,7 +27,7 @@
|
||||
<div class="wideload">
|
||||
<table border="0" cellspacing="5">
|
||||
<tr><td class="mediumtags" align="right"><b><%=intl._("Log file")%>:</b></td>
|
||||
<td><input type="text" name="logfilename" size="40" value="<jsp:getProperty name="logginghelper" property="logFilePattern" />" >
|
||||
<td><input type="text" name="logfilename" size="40" disabled="disabled" title="<%=intl._("Edit {0} to change", "logger.config")%>" value="<jsp:getProperty name="logginghelper" property="logFilePattern" />" >
|
||||
<br> <i><%=intl._("(the symbol '@' will be replaced during log rotation)")%></i></td>
|
||||
</tr><tr><td class="mediumtags" align="right"><b><%=intl._("Log record format")%>:</b></td>
|
||||
<td><input type="text" name="logformat" size="20" value="<jsp:getProperty name="logginghelper" property="recordPattern" />" >
|
||||
|
Reference in New Issue
Block a user