Question
· Dec 13, 2021

Purging particular Interface logs in Healthshare\Ensemble

I am working in Intersystems Healthshare product.

 

I want to clear the message logs from a particular interface (Service,process,operation). 

In intersystems we have the option to purge the data for all interfaces for the corresponding time but I want to clear the data logs for particular interface only.

 

Please let me know how to approach this scenario.

Product version: HealthShare 2020.1
Discussion (3)0
Log in or sign up to continue

Are you referring to log output in the "Log" panel of the Production?

As far as I am aware, these are writting with the $$$LOGSTATUS, $$$LOGINFO, etc macros, which simply write to Ens.Util.Log:

Which you can then access via SQL or the global. So, if you wanted to delete everything for a specific production Item, you could do something like this:

select * from Ens_Util.Log where ConfigName = 'Error Notification';
delete from Ens_Util.Log where ConfigName = 'Error Notification';

where ConfigName is the service, process or operation's name.

Hope that helps!