Skip to content

Instantly share code, notes, and snippets.

@kyamaguchi
Created October 2, 2010 02:52
Show Gist options
  • Save kyamaguchi/607205 to your computer and use it in GitHub Desktop.
Save kyamaguchi/607205 to your computer and use it in GitHub Desktop.
# 10MB毎に10ファイルをローテートする。
config.logger = Logger.new(config.log_path, 10, 10.megabytes)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment