Jump to content

Logging/Debugging display


diantonio

Recommended Posts

Hello,

We are experiencing issue with a cdn script and in particular the invalidation function.

We created a test KVS instance and storage and linked it to the CDN storage.

We then upload a video and the video versions are uploaded properly on CDN storage.

We then delete the videos, which triggers a '401 - POST - /v3/ - Invalid authentication' in the CDN API log.

We need to view the full API call made by KVS, so we added logging/debugging lines in the cdn script (also enable PHP debugging), however no info is output in the log file.

Please advice on a way to view the full API call or any errors in this case.

Link to comment
Share on other sites

2 hours ago, diantonio said:

We need to view the full API call made by KVS, so we added logging/debugging lines in the cdn script (also enable PHP debugging), however no info is output in the log file.

Do you mean you put the logging call into /admin/cdn/yourcdn.php script yourcdn_invalidate_resources() function and the log didn't add anything on deleting a video? BUt how about adding new videos, do you see the invalidation call for new videos? If no, likely you did something wrong, and the log file is created somewhere else, please make sure you use absolute path for specifying the logging file location and specify it into /admin/logs folder which has 777 permissions. Otherwise your log file may be created somewhere else, or it can be not created due to lack of permissions.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...