vidierre Posted November 3, 2022 Report Share Posted November 3, 2022 Even if Caspio provide some logging feature sometimes I nedd to have a more granular app log/trace. I want to share what I use in my apps. I built a table to mantain all log records with this design: Where. ID - is a unique identifier tnt_id - I use it to handle multi-tenant app (it could be omitted) Timestamp - self explanatory Appl - Is the name of the app that logged an entry Source - Is the kind of element that logged the entry (i.e. Trigger/Task ...) Event - Is the eventname I logged (Update, Record scan, Insert, ecc.) Description - contains valuable data related to the event. It may be some field values, authentication fields or a concatenation of more field. Then I put some pattern like this into keypoints of my triggers or tasks filling Description with useful data. If you consider this useful click the like at bottom-right. If you know a better idea, please let me know. Flowers4Algernon and kpcollier 1 1 Quote Link to comment Share on other sites More sharing options...
0 Flowers4Algernon Posted January 20, 2023 Report Share Posted January 20, 2023 Thank you for sharing this! I just wanted to add, just in case, that we can suggest features at Caspio's ideabox! Quote Link to comment Share on other sites More sharing options...
0 PotatoMato Posted March 8 Report Share Posted March 8 Hi! Caspio has already added features for logs: https://howto.caspio.com/logs/logs-overview/ -Potato Quote Link to comment Share on other sites More sharing options...
0 PotatoMato Posted March 8 Report Share Posted March 8 I also suggest voting on this feature: https://caspio.uservoice.com/forums/164206-caspio-bridge/suggestions/47666825-add-app-access-log-download so the Caspio team can include this feature on future releases where we can download the logs. -Potato Quote Link to comment Share on other sites More sharing options...
Question
vidierre
Even if Caspio provide some logging feature sometimes I nedd to have a more granular app log/trace. I want to share what I use in my apps.
I built a table to mantain all log records with this design:
Where.
Then I put some pattern like this into keypoints of my triggers or tasks filling Description with useful data.
If you consider this useful click the like at bottom-right.
If you know a better idea, please let me know.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.