Added logging option.
Forgot to add it to usage.