log_mod -> log_mods and get setting as boolean