Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

For some reason my RedMine install never gets any log files.

Redmine is an open source project management system written with Ruby on Rails.

I'm a total newbie to Ruby or Rails.

Have searched the wiki, forums, tickets without any clue to this seemingly simply thing.

By the way, this was an upgrade from a previous version on this TurnKey Linux Application. I can see that the backup folder of the older version has a log file with lots of log messages.

But mine in /var/www/railsapp/log/production.log has only one line from several days ago announcing the the log is created.

Now, my real problem is some strangeness that started happening in the application but I feel that that A) See the logs, I might realized it was something I changed in my configuration (mucking with VMs and network setup) B) will have the logs to post in an issue to the redmine team.

Meanwhile, I can't even get anything to log. Is there a debug level to set?

Sincerely, Wayne

share|improve this question

2 Answers 2

I've not done much with Rails either, but I'd take a look in config/environments/production.rb to see what options there are for logging. Logging is usually done with the Logger standard ruby library which should just generate a log based on your current environment (eg log/production.log). You will get more events logged if you aren't in the production environment - production only logs info or above wheras other environments logs everything including debug. If you're getting exceptions in the application then take a look at Exceptional or New Relic.

share|improve this answer
up vote 3 down vote accepted

It was permissions related. After putzing around I got it working just by getting the owner and group of the files to match the user running the railsapp and proper read/write permission. Just confusing how it ever got broken. - Wayne

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.