joergen7 / cuneiform-legacy

A Functional Workflow Language
Apache License 2.0
4 stars 0 forks source link

introduce file name as (optional) log entry key #92

Open marcbux opened 10 years ago

marcbux commented 10 years ago

Since there can be several log entries corresponding to the same file, the name of the file should be part of the log entry key.

joergen7 commented 10 years ago

Does this log implement the desired feature?

{timestamp:1399498023848,runId:"f0eeee95-199d-4d33-81e1-b3dfb066e99b",taskId:1115115121,lang:"bash",invocId:241133976,key:"invoc-output",value:{"out":["241133976_1_a.txt"]}} {timestamp:1399498023852,runId:"f0eeee95-199d-4d33-81e1-b3dfb066e99b",taskId:1115115121,lang:"bash",invocId:241133976,file:"241133976_1_a.txt",key:"file-size-stageout",value:"160"} {timestamp:1399498023834,runId:"f0eeee95-199d-4d33-81e1-b3dfb066e99b",taskId:1115115121,lang:"bash",invocId:241133976,key:"invoc-time",value:{"nMinPageFault":6439,"nSwapOutMainMem":0,"avgStackSize":0,"userTime":0.01,"nSocketRead":0,"nIoRead":0,"nWaitContextSwitch":55,"maxResidentSetSize":1548,"avgResidentSetSize":0,"nMajPageFault":0,"realTime":0.01,"nSocketWrite":0,"nSignal":0,"avgTextSize":0,"sysTime":0.01,"avgDataSize":0,"nIoWrite":8,"nForcedContextSwitch":16}} {timestamp:1399498023843,runId:"f0eeee95-199d-4d33-81e1-b3dfb066e99b",taskId:1115115121,lang:"bash",invocId:241133976,file:"/home/jorgen/a.txt",key:"file-size-stagein",value:"160"} {timestamp:1399498023848,runId:"f0eeee95-199d-4d33-81e1-b3dfb066e99b",taskId:1115115121,lang:"bash",invocId:242057497,key:"invoc-output",value:{"out":["242057497_1_b.txt"]}} {timestamp:1399498023852,runId:"f0eeee95-199d-4d33-81e1-b3dfb066e99b",taskId:1115115121,lang:"bash",invocId:242057497,file:"242057497_1_b.txt",key:"file-size-stageout",value:"31"} {timestamp:1399498023834,runId:"f0eeee95-199d-4d33-81e1-b3dfb066e99b",taskId:1115115121,lang:"bash",invocId:242057497,key:"invoc-time",value:{"nMinPageFault":6441,"nSwapOutMainMem":0,"avgStackSize":0,"userTime":0.01,"nSocketRead":0,"nIoRead":0,"nWaitContextSwitch":53,"maxResidentSetSize":1548,"avgResidentSetSize":0,"nMajPageFault":0,"realTime":0.01,"nSocketWrite":0,"nSignal":0,"avgTextSize":0,"sysTime":0.01,"avgDataSize":0,"nIoWrite":8,"nForcedContextSwitch":17}} {timestamp:1399498023843,runId:"f0eeee95-199d-4d33-81e1-b3dfb066e99b",taskId:1115115121,lang:"bash",invocId:242057497,file:"/home/jorgen/b.txt",key:"file-size-stagein",value:"31"}