Permalink
Browse files

Don't default to logging personal information.

  • Loading branch information...
Glenn Gillen
Glenn Gillen committed Oct 4, 2012
1 parent c1cfafb commit a1cd05a4d5adec30d1b8f6b79f6d4584a4c263e5
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/campaign_monitor_subscriber/subscription_hooks.rb
@@ -10,7 +10,7 @@ module SubscriptionHooks
@@log = Logger.new('log/cm_subscriber.log')
after_create do |record|
- @@log.info "\n* Adding '#{record.cms_email}' to CM"
+ @@log.debug "\n* Adding '#{record.cms_email}' to CM"
begin
CreateSend::Subscriber.add(
@@ -27,7 +27,7 @@ module SubscriptionHooks
after_destroy do |record|
- @@log.info "\n* Removing '#{record.cms_email}' from CM"
+ @@log.debug "\n* Removing '#{record.cms_email}' from CM"
begin
s = CreateSend::Subscriber.new(

0 comments on commit a1cd05a

Please sign in to comment.