Skip to content

Commit

Permalink
Don't default to logging personal information.
Browse files Browse the repository at this point in the history
  • Loading branch information
glenngillen committed Oct 4, 2012
1 parent c1cfafb commit a1cd05a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/campaign_monitor_subscriber/subscription_hooks.rb
Expand Up @@ -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(
Expand All @@ -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(
Expand Down

0 comments on commit a1cd05a

Please sign in to comment.