So, a simple little question. Every time I perform some transaction with DataMapper inside one of my “get” or “post” blocks, I get output looking something like this…
core.local - - [19/Sep/2012:09:04:54 CEST] "GET /eval_workpiece/state?id=24 HTTP/1.1" 200 4
- -> /eval_workpiece/state?id=24
It’s a little too verbose for my liking. Can I turn this feedback off?
To cut off all logging:
To change verbosity:
Other levels are
:fatal => 7, :error => 6, :warn => 4, :info => 3, :debug => 0(http://rubydoc.info/gems/dm-core/1.1.0/DataMapper/Logger)