update_option does not work in this scenario – how do I fix?

I realised this was occurring because in my code, $log was a huge amount of text, therefore it appears there is a limit to what you can store in an option.