How to log (flag or track) a variable?

The user_settings method does not work for me. If it doesn’t work for anyone else, see here for alternate way

http://discourse.stonehearth.net/t/moai-personal-thread/20070/16?u=moai