Skip to content

Instantly share code, notes, and snippets.

@wycats
Forked from michaelklishin/gist:15129
Created October 6, 2008 20:11
Show Gist options
  • Save wycats/15132 to your computer and use it in GitHub Desktop.
Save wycats/15132 to your computer and use it in GitHub Desktop.
def self.update_logger
Merb::Config[:log_stream] = File.open(Merb::Config[:log_file], "w+") if Merb::Config[:log_file]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment