Extend log information

Hello out there.

I want to add two fields to the database table “app_log” collecting all the log module activities and I want to create two session variables at login which I want to write into these two additional fields. Does anybody know where the insert statement into the “app_log” table can be extended?

Thanks and best regards

Hi, Scriptcase use the macro: sc_log_add
sc_log_add (“access”, “Application has been accessed by the user trial”);

So, i think you can create a function like sc_log_add for you can do insert your new fields.

1 Like

Hello,
thanks for your suggestion.
I already thought about the possibility, which means I have to handle completely manually all the log activities on my project, as I need all the additional logged information in the same row. So I first want to see, if there is a solution to apply to the Scriptcase log process.
Do you maybe know where I can find the function sc_log_add in order to see how it works and to create my own based on it?