Any one can suggest, to write the event log to the text file. Its kind of a alerting. Already a service for alerting is there via email. Same concept to do the log to text file.
Ensemble event log?
It is stored in Ens.Util.Log class, so you can easily export it to csv/html/xml/pdf/txt from SQL. Here's a sample export to CSV:
set rs = ##class(%SQL.Statement).%ExecDirect(,"SELECT * FROM Ens_Util.Log") set file = "C:\InterSystems\Ensemble\mgr\Temp\Ens.Log" do rs.%DisplayFormatted(100, file) // 100 for CSV format
Docs for %DisplayFormatted.