Skip to content

[uengine.properties]

Jinyoung Jang edited this page Oct 24, 2016 · 1 revision

log.level

if you give following setting:

log.level=debug

there will be a log file in your GlobalContext.FILE_SYSTEM_PATH + "/log/" + getInstanceId()

ProcessInstance.java

		
		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) {
		}


multi-tenant

Set the multi-tenant mode engine or not.

multi-tenant=true or false (default is true)