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
Are you referring to log output in the "Log" panel of the Production?
.png)
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:
where ConfigName is the service, process or operation's name.
Hope that helps!
Hi Niklas,
Thank you for the solution, really that is very helpful.
I want to clear the message logs from message viewer.
Can you please suggest the similar kind of solution which table or global I have to kill.
Thank you,
Anthony
On that I can just make an educated guess. There are these classes:
But I don't know if deleting them also deletes the accompanying Ens.Request and Ens.Response objects. Some deeper cleanup logic might be needed?