error_log() not working in add_filter auto update callback

I found that the add_filter callback function was called but at a much later time. There was a record of it in the debug.log this morning. This means that this filter is only called when the cron is run for automatic updates. This runs every 12 hours and is hard coded into WordPress core.