WordPress to SocialPilot Pro can log the result of each status message sent to SocialPilot through the Publish, Update, Repost and Bulk Publish actions.
Most of the time you won’t need to do anything with these Logs – however, they’re useful to confirm if WordPress to SocialPilot Pro attempted to send a status to SocialPilot, and whether the status was accepted.
In the WordPress Administration, click on the WP to SocialPilot Pro > Settings in the menu.
If enabled, for each Post, the Plugin will log whether statuses were sent to SocialPilot, and if so the result.
Display on Posts
If enabled, this displays Post-specific Logs on each Post when editing a Post, Page or Custom Post Type in the WordPress Administration interface.
Preserve Logs defines the number of days to preserve logs for before they are automatically purged (deleted) from the log database table. A sensible default is provided by the Plugin of 30 days, but you may wish to adjust this accordingly.
If the value is zero or blank, logs are kept indefinitely and never automatically deleted.
To monitor your WordPress Cron jobs, we recommend installing WP Crontrol. WordPress to SocialPilot Pro will display the Log Cleanup job with the Hook Name wp_to_socialpilot_pro_log_cleanup_cron
To view the Logs, click on WP to SocialPilot Pro > Logs in the WordPress Administration interface:
A table will be displayed, showing all status activity, ordered by when a status was sent to SocialPilot, newest to oldest:
Understanding Log Entries
Each log entry comprises of the following information:
|Post ID||The Post ID the Log Entry refers to.|
|Request Sent||When the status was sent from the Plugin to SocialPilot|
|Action||The Post Action that triggered this status (Publish, Update, Repost, Bulk Publish)|
|Profile||The Social Media Profile the status message is for|
|Status Text||The Status Text of the status message|
|Result||The result from sending the status to SocialPilot:
|Response||The response from either the Plugin or SocialPilot, depending on the Result:
|SocialPilot: Status Created At||(Only when Result = Success). When the status was added to SocialPilot.|
|SocialPilot: Status Scheduled For||(Only when Result = Success). When the status is scheduled to be sent by SocialPilot to the Profile.|
If you’ve configured multiple statuses, or enabled statuses to be sent to multiple social media profiles, you will see individual log entries for each status and social media profile combination.
Viewing Post-specific Logs
To view logs for a specific Post, you can either:
- Edit the Post, or
- Use the Logs screen and search by Post Title or ID
Edit the Post that you wish to view the Log for.
The Log will then be displayed in a meta box towards the bottom of the screen:
Search Logs Screen
To view logs for a specific Post ID, or partial Post Title, from the Logs screen:
- Enter the Post ID, or partial Post Title, in the search box:
- Click the Search button.
A table will be displayed, showing Log Entries matching the Post ID or partial Post Title
Logs can be filtered by:
- Action (Post Publish, Post Update, Automatic Repost or Bulk Publish)
- Social Media Profile
- Result (Success, Test, Warning or Error)
- Request Sent Date Range
To filter the logs, click on the relevant filter above the table, selecting the applicable value:
Click the Apply button to see the filtered logs.
Delete Log Entries
To delete one or more log entries:
- Click the checkbox beside each log entry in the table:
- Under Bulk Actions, select Delete:
- Click the Apply button
To delete all log entries:
- Click the Clear Log button