Remove unused variables and reorder arg parsing.
Use a more significative name for logger helper.