Log all variables, and use named constants instead of true/false.