I found that some errors occur only after the site is published, but it’s hard to know why since there’s no logs. As I study site-monitoring - the velo API, it seems like the logs of production site are only available in real-time.
Therefore, is there any way I can store the logs of production site instead of monitoring it real-time?
Thanks and best regards.
Take a look at Velo: Connecting Site Events to Google Operations (formerly Stackdriver) for a comprehensive monitoring and logging system.
Or, you can “roll your own” by creating a database collection to log your events. In order to log operational or debug events, you write to the collection using the standard wix-data API. You can then view the log collection in the Content Manager, or create your own page for viewing the log results.