Skip to content

Instantly share code, notes, and snippets.

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