----------------------------------------------------------------------------------------------------------------------------
1.log档案
1)程式log
C:\apache-tomee-plus-1.7.2-DEV\logs\enoviadev.2017-05-01.log
2)流程log
C:\enoviaV6R2015x\ENOVIA_DEV\logs\STI-Flow-2017-05-02_0.log
3)自定义log
C:\enoviaV6R2015x\ENOVIA_DEV\logs\CSTC-2017-05-01_0.log
----------------------------------------------------------------------------------------------------------------------------
2.java prog 汇入
使用MQL
insert prog c:\CSTC_ProjectReport_C_mxJPO.java; //插入
compile prog CSTC_ProjectReport_C_mxJPO; //编译
ps:java程式实际上都是存于DB,可用Spinner汇出,再汇入其他环境
----------------------------------------------------------------------------------------------------------------------------
3.将信息(param、request data)打印到log中
public void createTestReqPostProcessForRR(Context context, String[] args) throws Exception{ try{ HashMap programMap = (HashMap) JPO.unpackArgs(args); Map paramMap = (Map) programMap.get("paramMap"); Map requestMap = (Map) programMap.get("requestMap"); System.out.println("programMap = "+programMap.toString()); System.out.println("paramMap = "+paramMap.toString()); System.out.println("requestMap = "+requestMap.toString()); } catch(Exception e) { throw new FrameworkException(e.toString()); } }
ps:便于调式程序
参考prog
CSTC_TestReq_RR_mxJPO.java
----------------------------------------------------------------------------------------------------------------------------