Added logger to Rakefile.
Made logger transient.