This is because DataMapper's logger is set up separately. We should probably
have dm_salesforce use the log settings specified by c[:log_level] unless
specifically overridden. We probably also want to hook up DM to Merb's
buffered, per-request logger.
Anyone have any thoughts on this?
On Wed, Nov 19, 2008 at 5:21 AM, pirkka <[EMAIL PROTECTED]> wrote:
>
> my production.rb reads like this
>
> Merb.logger.info("Loaded PRODUCTION Environment...")
> Merb::Config.use { |c|
> c[:exception_details] = false
> c[:reload_classes] = false
> c[:log_level] = :error
> c[:log_file] = Merb.log_path + "/production.log"
> }
>
> however, i'm still getting all the same stuff logged as in
> development, including all sql queries by datamapper.
>
> what am i doing wrong?
>
> cheers,
> pirkka
> >
>
--
Yehuda Katz
Developer | Engine Yard
(ph) 718.877.1325
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---