Order matters in iptables. You have to log BEFORE apply a rule. If the log rule is below the acceptance rule, it will not reach the log action. Also, any "-A" will insert the rule at the end of the chain and "-I" will insert the rule at the beginning of the chain. The only option that has the rigth order (Log, then accept) is "C".