Display Function Logs in Reverse Chronological Order (Latest to Oldest)
- 3
- General
- Functions
- Web
- Cloud
Is there a way to display function logs in reverse chronological order (latest to oldest) for a better user experience? It would be beneficial as it allows users to easily track and analyse the most recent events, helping with debugging and troubleshooting. is there any possibility for this? Thank you.
Yeah there is a way.
const sortedFunctions= [Array Of Function Executions].sort((a, b) => b.[executionTimeStamp].toLocaleString().localeCompare(a.[executionTimeStamp].toLocaleString())
);
//store `sortedFunctions` and display.
[Array Of Function Executions] = get an array of all executions.. in which [executionTimeStamp] is the timestamp of execution.
Oh you are pointing out Appwrite Console?
Sorry, If I am not clear
Okok
I thought that you want , them in your app. to show them to users.
Creat a GitHub issue for this.
No sandeep, I was looking for something in console
right
since, it's a done project, they can't do it immediately. but we can create a github issue.
If you dont mind can you specify the repo?
Thanks @Sandeep K. Dasari
I think this is in purpose Check this https://discord.com/channels/564160730845151244/1115949474628501535/1116024299279614045
Recommended threads
- SSL certificate issuance failed:
Domain verifies but SSL cert fails, tried different subdomains like .api and .aw, used cname and CAA, no prior CAA existed on website, tried Multiple CAAs at on...
- Migration from Self-Hosted to Cloud seem...
Hello, I'm trying to migrate from my Self-Hosted Appwrite instance to Cloud, and can't figure out what's going wrong. - If I initiate the migration from Cloud...
- Password check in function
Hi, is there any way now for checking if the users password is correct in a function? I am creating a delete user function and before deleting I would like to c...