Skip to content

Instantly share code, notes, and snippets.

@hiltmon
Created November 14, 2012 13:32
Show Gist options
  • Save hiltmon/4072079 to your computer and use it in GitHub Desktop.
Save hiltmon/4072079 to your computer and use it in GitHub Desktop.
Changes to slogger.rb
# Line 172 : WAS
eval(plugin['class']).new.do_log
# CHANGE TO
if plugin['updates_config'] == true
# Pass a reference to config for mutation
eval(plugin['class']).new.do_log(@config)
else
# Usual thing (so that we don't break other plugins)
eval(plugin['class']).new.do_log
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment