IDEMPIERE-5911 : [IDempiere Monitor] Open Log File on New Tab (#2089)
This commit is contained in:
parent
d217eb531e
commit
ee212b7d37
|
@ -1189,7 +1189,7 @@ public class AdempiereMonitor extends HttpServlet
|
|||
//
|
||||
line = new tr();
|
||||
line.addElement(new th().addElement("Trace File"));
|
||||
line.addElement(new td().addElement(new a ("idempiereMonitor?Trace=" + systemInfo.getCurrentLogFile(), "Current")));
|
||||
line.addElement(new td().addElement(new a ("idempiereMonitor?Trace=" + systemInfo.getCurrentLogFile(), "Current", "Current", "Current")));
|
||||
table.addElement(line);
|
||||
//
|
||||
line = new tr();
|
||||
|
@ -1218,7 +1218,7 @@ public class AdempiereMonitor extends HttpServlet
|
|||
int index = fileName.lastIndexOf(File.separator);
|
||||
if (index > 1)
|
||||
displayName = fileName.substring(index+1);
|
||||
a link = new a ("idempiereMonitor?Trace=" + fileName, displayName);
|
||||
a link = new a ("idempiereMonitor?Trace=" + fileName, displayName, displayName, displayName);
|
||||
p.addElement(link);
|
||||
int size = (int)(logFile.getFileSize()/1024);
|
||||
if (size < 1024)
|
||||
|
|
Loading…
Reference in New Issue