Adding lm log option