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. kpcollier and Flowers4Algernon 1 1 Quote Link to comment Share on other sites More sharing options...
0 Flowers4Algernon Posted January 20 Report Share Posted January 20 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...
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
1 answer 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.