Basic log output AJAX polling