-
Notifications
You must be signed in to change notification settings - Fork 10
[uengine.properties]
Jinyoung Jang edited this page Oct 24, 2016
·
1 revision
if you give following setting:
log.level=debug
there will be a log file in your GlobalContext.FILE_SYSTEM_PATH + "/log/" + getInstanceId()
try {
if (GlobalContext.logLevelIsDebug) {
PrintStream ps = null;
try {
File f = new File(GlobalContext.FILE_SYSTEM_PATH + "/log/" + getInstanceId() + "/");
f.mkdirs();
ps = new PrintStream(
new FileOutputStream(GlobalContext.FILE_SYSTEM_PATH + "/log/" /*+ UEngineUtil.getCalendarDir() + "/" */+ getInstanceId() + "/" + activity.getTracingTag() + ".log.xml")
);
ps.print(getProcessTransactionContext().getDebugInfo());
} catch (FileNotFoundException e) {
e.printStackTrace();
} finally {
if (ps != null) {
try {
ps.close();
} catch (Exception e) {
}
}
}
}
} catch (Exception e) {
}
Set the multi-tenant mode engine or not.
multi-tenant=true or false (default is true)