Search code examples
ruby-on-railsworklingstarling-server

Workling logs in production


Anyone now why I can't see logs for workling in workling.output or production.log?

In development the logs show up in the development.log.

In my environments/production.rb I have the log levl set to debug. config.log_level = :debug

I'm starting Starling and Workling like this

server > /usr/bin/starling -d -P /tmp/pids/starling.pid -L /mnt/app/current/log/starling.log -p 15151

local > cap deploy:restart

server > RAILS_ENV=production /mnt/app/current/script/workling_client start

Solution

  • The log level is different. The Default level for development mode is logger.debug, this shows basically everything. In production I think it's logger.info, this is the actions called, time taken and errors only.