Fix bug [2832350] Enabling trace log file create one file per line in /tmp
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2832350
This commit is contained in:
parent
2ce294bb10
commit
bdc810b343
|
@ -175,8 +175,10 @@ public class CLogFile extends Handler
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (m_file == null) // Fallback create temp file
|
if (m_file == null) { // Fallback create temp file
|
||||||
m_file = File.createTempFile("adempiere", ".log");
|
m_fileNameDate = getFileNameDate(System.currentTimeMillis());
|
||||||
|
m_file = File.createTempFile("adempiere"+m_fileNameDate + "_", ".log");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue