diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-12-09 16:03:18 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-12-09 16:05:57 -0800 |
commit | 04ef93dae6d9cec616973c1110a33894ad4ba6ed (patch) | |
tree | 16f7f66c40f8f0fdc70de47830a286b2c8a1947c /railties/guides/rails_guides.rb | |
parent | f79b257e0bdddc22c21b3dc0c0929a4865daa940 (diff) | |
download | rails-04ef93dae6d9cec616973c1110a33894ad4ba6ed.tar.gz rails-04ef93dae6d9cec616973c1110a33894ad4ba6ed.tar.bz2 rails-04ef93dae6d9cec616973c1110a33894ad4ba6ed.zip |
* ActiveSupport::BufferedLogger#silence is deprecated. If you want to squelch
logs for a certain block, change the log level for that block.
* ActiveSupport::BufferedLogger#open_log is deprecated. This method should
not have been public in the first place.
* ActiveSupport::BufferedLogger's behavior of automatically creating the
directory for your log file is deprecated. Please make sure to create the
directory for your log file before instantiating.
* ActiveSupport::BufferedLogger#auto_flushing is deprecated. Either set the
sync level on the underlying file handle like this:
f = File.open('foo.log', 'w')
f.sync = true
ActiveSupport::BufferedLogger.new f
Or tune your filesystem. The FS cache is now what controls flushing.
* ActiveSupport::BufferedLogger#flush is deprecated. Set sync on your
filehandle, or tune your filesystem.
Diffstat (limited to 'railties/guides/rails_guides.rb')
0 files changed, 0 insertions, 0 deletions