log files for process mining - Printable Version
+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (/forumdisplay.php?fid=1)
+--- Forum: How To ? (/forumdisplay.php?fid=6)
+--- Thread: log files for process mining (/showthread.php?tid=202)
log files for process mining - Fred331 - 04-28-2012 12:49 AM
I want to do some process mining based on a log of used operations when fulfilling a standard tak using an erp system. Are there any such log files or options to generate log files with the names of used operations and so on ?
RE: log files for process mining - Exsonqu_Qu - 04-28-2012 12:54 AM
Does the audit trail in setup module meet your requirement?
RE: log files for process mining - Fred331 - 04-28-2012 07:49 PM
(04-28-2012 12:54 AM)Exsonqu_Qu Wrote: Hi, Fred:
Yes, that goes in the right direction. I've also set the Log Severity Level to 'All' on the site I found by clicking through setup > general > configuration settings.
Now I would like to influence the behaviour of the logger to create my own adapted log files. Do you know which files I have to manipulate for such purposes? I didn't find anything in the manual to answer this question.
Thanks for your help.
RE: log files for process mining - Exsonqu_Qu - 04-28-2012 09:18 PM
The information is kept in audittrail table. All those information are from DB_query() function which you can find in includes/ConnectDB_mysqli.inc.
RE: log files for process mining - Fred331 - 04-29-2012 08:13 PM
(04-28-2012 09:18 PM)Exsonqu_Qu Wrote: Hi, Fred:
That's a good hint, thanks. However, I would prefer to manipulate the log entries because they differ from the sql querystring saved in the audittrail table.
For example one of my log entries looks like that:
2012-04-29 11-04-47,success,admin,Customer branch<b> TEST </b>has been added, add another branch, or return to the <a href="index.php">Main Menu</a>
Now, I want to modify the file responsible for writing this entry because I have to filter the name of the excecuted operations.
Would be great if you know in which file these entries are generated. I can't find it.
RE: log files for process mining - Exsonqu_Qu - 04-30-2012 12:33 AM
I think there is no one special file to generate this information. Usually, these information will be generated after DB_txn_commit($db) via prnMsg() function. For instance, in WorkOrderReceive.php, you can find it in line 676 and 677.
Hope it's helpful.