Added log stale to rest services

Hi I created a rest service to detect if the log has gone stale. It helps us detect if we have certain errors.