Hi everybody
I have a problem when tries get log error from table log_error(PlatformLogs) of outsystems by Aggregate with filter
Log_Error.Username = Session.Username
Log_Error.Espace_Name = Site.ModuleName
and sort Log_Error.Instant by Desc
to get last new record.
This aggregate add in Onexception but i had been not get last new record (i have compare and it not same with log in center service).
So i think may be log in table log_error at time run Onexception is not lastest so can someone tell me exactly the time log error write into table log error when occur error
Thanks
Tung Nguyen
Hi Tung,
Why you want to access to error log at that moment?
The logging is done asynchronously and because of that you will never be able to access the last message at that moment. But you have the exception message. What else do you need?
Regards,
Marcelo
Marcelo Ferreira wrote:
Hi Marcelo Ferreira
Because i want to write this error log to stack driver.
So have not anyway get this log at the moment run Onexception action?
What information do you need to save on stack driver?