pm4py / pm4py-core

Public repository for the PM4Py (Process Mining for Python) project.
https://pm4py.fit.fraunhofer.de
GNU General Public License v3.0
722 stars 286 forks source link

RFI: Logging during Generation of Process Trees, BPMN models & simulation models #299

Closed gregvanhoudt closed 2 years ago

gregvanhoudt commented 2 years ago

I noticed an interesting update in the change log of version 2.2.17, namely the tree size changes in the PT and Log Generator. However, from the update, I also see entries in my log for which I cannot determine the origin. These are under the hood changes, I think. Where are these loggings coming from, and how can I disable them? I am talking about the following rules:

and similar.

I add my log file underneath.

DEBUG - OS version: Windows-10-10.0.22000-SP0
Python version: 3.9.9 (tags/v3.9.9:ccb0e6a, Nov 15 2021, 18:08:50) [MSC v.1929 64 bit (AMD64)]
PM4Py version:  2.2.17

DEBUG - Deleting the output directories - starting new iterations.
DEBUG - Preparing file structure: creating BPMN, ProcessTree and BPSim directories.
DEBUG - Removed 0 working files in the working directory.
DEBUG - Files removed and directories created. Ready for BPSim generation

INFO - Construction of 10 BPSim simulation files started. Tree size set to (15, 85, 150).
DEBUG - os.makedirs('C:\\Users\\LUCP10~1\\AppData\\Local\\Temp')
DEBUG - write lines to 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmp853i7_84.gv'
DEBUG - run [WindowsPath('dot'), '-Kdot', '-Tsvg', '-O', 'tmp853i7_84.gv']
DEBUG - delete 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmp853i7_84.gv'
DEBUG - Iter 1      Simulation length: 57 days      Activity classes: 90
DEBUG - os.makedirs('C:\\Users\\LUCP10~1\\AppData\\Local\\Temp')
DEBUG - write lines to 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmpd2d7t_2f.gv'
DEBUG - run [WindowsPath('dot'), '-Kdot', '-Tsvg', '-O', 'tmpd2d7t_2f.gv']
DEBUG - delete 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmpd2d7t_2f.gv'
DEBUG - Iter 2      Simulation length: 53 days      Activity classes: 84
DEBUG - os.makedirs('C:\\Users\\LUCP10~1\\AppData\\Local\\Temp')
DEBUG - write lines to 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmp4znmp7_t.gv'
DEBUG - run [WindowsPath('dot'), '-Kdot', '-Tsvg', '-O', 'tmp4znmp7_t.gv']
DEBUG - delete 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmp4znmp7_t.gv'
DEBUG - Iter 3      Simulation length: 83 days      Activity classes: 137
DEBUG - os.makedirs('C:\\Users\\LUCP10~1\\AppData\\Local\\Temp')
DEBUG - write lines to 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmpirm3l8yh.gv'
DEBUG - run [WindowsPath('dot'), '-Kdot', '-Tsvg', '-O', 'tmpirm3l8yh.gv']
DEBUG - delete 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmpirm3l8yh.gv'
DEBUG - Iter 4      Simulation length: 45 days      Activity classes: 69
DEBUG - os.makedirs('C:\\Users\\LUCP10~1\\AppData\\Local\\Temp')
DEBUG - write lines to 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmpafw59j9m.gv'
DEBUG - run [WindowsPath('dot'), '-Kdot', '-Tsvg', '-O', 'tmpafw59j9m.gv']
DEBUG - delete 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmpafw59j9m.gv'
DEBUG - Iter 5      Simulation length: 66 days      Activity classes: 107
DEBUG - os.makedirs('C:\\Users\\LUCP10~1\\AppData\\Local\\Temp')
DEBUG - write lines to 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmpmbw4q48k.gv'
DEBUG - run [WindowsPath('dot'), '-Kdot', '-Tsvg', '-O', 'tmpmbw4q48k.gv']
DEBUG - delete 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmpmbw4q48k.gv'
DEBUG - Iter 6      Simulation length: 66 days      Activity classes: 106
DEBUG - os.makedirs('C:\\Users\\LUCP10~1\\AppData\\Local\\Temp')
DEBUG - write lines to 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmp7eywz4wh.gv'
DEBUG - run [WindowsPath('dot'), '-Kdot', '-Tsvg', '-O', 'tmp7eywz4wh.gv']
DEBUG - delete 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmp7eywz4wh.gv'
DEBUG - Iter 7      Simulation length: 36 days      Activity classes: 52
DEBUG - os.makedirs('C:\\Users\\LUCP10~1\\AppData\\Local\\Temp')
DEBUG - write lines to 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmpwust0qhl.gv'
DEBUG - run [WindowsPath('dot'), '-Kdot', '-Tsvg', '-O', 'tmpwust0qhl.gv']
DEBUG - delete 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmpwust0qhl.gv'
DEBUG - Iter 8      Simulation length: 56 days      Activity classes: 88
DEBUG - os.makedirs('C:\\Users\\LUCP10~1\\AppData\\Local\\Temp')
DEBUG - write lines to 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmpan3fboyu.gv'
DEBUG - run [WindowsPath('dot'), '-Kdot', '-Tsvg', '-O', 'tmpan3fboyu.gv']
DEBUG - delete 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmpan3fboyu.gv'
DEBUG - Iter 9      Simulation length: 63 days      Activity classes: 101
DEBUG - os.makedirs('C:\\Users\\LUCP10~1\\AppData\\Local\\Temp')
DEBUG - write lines to 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmpxqbcasvo.gv'
DEBUG - run [WindowsPath('dot'), '-Kdot', '-Tsvg', '-O', 'tmpxqbcasvo.gv']
DEBUG - delete 'C:\\Users\\LUCP10~1\\AppData\\Local\\Temp\\tmpxqbcasvo.gv'
DEBUG - Iter 10     Simulation length: 88 days      Activity classes: 147
fit-alessandro-berti commented 2 years ago

Dear gregvanhoudt, I think there is nothing in PM4Py that provides such logging

gregvanhoudt commented 2 years ago

Hi Alessandro

Thanks for the information. I will look into it further.

Greg