Control logging in specs via the LOG env variable
Control logging in specs via the LOG env variable

By default, no logging happens, however, it can be
turned on by specifying certain values for the
LOG environment variable

  LOG=file          # "#{Dir.pwd}/spec/log/dm.log"
  LOG=anything_else # $stdout

This works for dm-core and all adapters and plugins
that make use of 'dm-core/spec/setup.rb'

datamapper/dm-core,tpitale/dm-core,ar-dm/ardm-core,tillsc/dm-core,engineyard/dm-core,alloy/dm-core