added logging for completed tasks. If we don't want them logged we can
use the command "remove" instead of "complete"