Logging with Winston in your Node.js application

Logging is an essential part of application.  According to Twelve-Factor App methodology it’s the XI factor of application development. A proper logging gives you a valuable insite of your application. In Node.js application, it is always suggested to use logging libraryrather than just using console.log  in productione environment. Log4js, Bunyan , and Winston are the … 

 

Weird Error: Fatal error: Class ‘CI_Controller’ not found in Codeigniter Framework

It’s a simply weird and misleading error message.  I was working on a client project which was actually based on Codeigniter  (CI) framework version 2.1.3.  Somehow, I did a typo in DB setting located at config/database.php file. But, I got a very weird error message: Fatal error: Class ‘CI_Controller’ not found in /var/www/my/……./system/core/CodeIgniter.php on line 233 …