How to disable flipper logs? #644
              
                
                  
                  
                    Answered
                  
                  by
                    bkeepers
                  
              
          
                  
                    
                      IrakliJani
                    
                  
                
                  asked this question in
                Q&A
              
            -
| 
         Hey, Is there a way to disable flipper logs from the configuration?  | 
  
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            bkeepers
          
      
      
        Jul 8, 2022 
      
    
    Replies: 2 comments 2 replies
-
| 
         @IrakliJani yep! Add this to your initializer: Rails.application.configure do
  config.flipper.log = false
end | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        IrakliJani
-
        require "flipper/adapters/active_record"
require "flipper/adapters/active_support_cache_store"
Flipper.configure do |config|
  config.adapter do
    Flipper::Adapters::ActiveSupportCacheStore.new(
      Flipper::Adapters::ActiveRecord.new,
      Rails.cache,
      expires_in: 5.minutes
    )
  end
endThis is my configuration today, is there anyway for me to avoid Flipper-queries filling up my logs?  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
@IrakliJani yep! Add this to your initializer: