Comments (3)
I can't reproduce this in production. Can you give your Rails version and run the following in console?
puts MultiLogger.get_rails_logger_class
puts Rails.logger
from multi_logger.
@lulalala Not OP, but I am having the same issue when deploying to a Heroku instance on Rails 4.1.7.
puts MultiLogger.get_rails_logger_class
ActiveSupport::Logger
=> nil
puts Rails.logger
#<Logger:0x007f13e617fcb8>
=> nil
from multi_logger.
+1
Also not the OP, but having the same problem (works in development but not production) and getting the same output as @kyledcline when putting the values you asked for.
Using Rails 4.2.3 and Ruby 2.1.6p336
Edit, should say this isn't a Heroku instance, I'm just deploying to a Centos server.
from multi_logger.
Related Issues (9)
- 可以決定 logger class 嗎? HOT 1
- Problems on Heroku HOT 3
- Just curious: Why are you monckey patching the class instead of the logger instance? HOT 3
- undefined method `to_model' for true:TrueClass error HOT 2
- Deployment HOT 4
- Tagged logger HOT 2
- Logger handles '-' in filename by replacing it with '_' HOT 2
- Problem with Heroku Push HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multi_logger.