BF [ 1726066 ] AdempiereMonitor shows the directories from the log dir
http://sourceforge.net/tracker/index.php?func=detail&aid=1726066&group_id=176962&atid=879332
This commit is contained in:
parent
2ccfc2f5d9
commit
561ce058f3
|
@ -748,6 +748,10 @@ public class AdempiereMonitor extends HttpServlet
|
||||||
File[] logs = logDir.listFiles();
|
File[] logs = logDir.listFiles();
|
||||||
for (int i = 0; i < logs.length; i++)
|
for (int i = 0; i < logs.length; i++)
|
||||||
{
|
{
|
||||||
|
// Skip if is not a file - teo_sarca [ 1726066 ]
|
||||||
|
if (!logs[i].isFile())
|
||||||
|
continue;
|
||||||
|
|
||||||
if (i != 0)
|
if (i != 0)
|
||||||
p.addElement(" - ");
|
p.addElement(" - ");
|
||||||
String fileName = logs[i].getAbsolutePath();
|
String fileName = logs[i].getAbsolutePath();
|
||||||
|
|
Loading…
Reference in New Issue