top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

My question is how I can make a single log file for both the instances of Rails App?

0 votes
288 views

I have deployed a ruby on rails app on two instances of production server, now there are two separate log file are being created for different instances. My question is how I can make a single log file for both the instances?

posted Jul 7, 2015 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Send it to a logstash instance?
https://github.com/dwbutler/logstash-logger

answer Jul 7, 2015 by Gurminder
Similar Questions
0 votes

I am proposing to have multiple domain name pointing towards a single site. On the site I would like to display the domains name that was used. How can I obtain the name of the domain that the user entered to access my site?

+1 vote

I have just started with rails. I am making a attendance web app. I want to insert student attendance into attendances table and unable to do it as the form just inserts only last entry of the form. Student table and Attendances table have associations (has_many,belongs_to).

Please let me know how the form should be and controller API should look like.

0 votes

I am using Eclipse for my Ruby project. Is there a setting I can set to stop eclipse from building all the time? A typical build for my small project takes like 4 hours. so I cant even work when it kicks off a build.

+1 vote

I was working on a test app and everything was going great. However now when I run "rails server" and none of the changes to the controller files are reflected.

If I make changes to HTML files, those are reflected. And yes, I'm sure am in the right directory editing the correct files.

I can get rid of actions in the controller files and it still works fine. Do I have to do something after I change the ruby files? I thought I could just save them then run 'rails server'... It had seemed to be working doing just that previously.

...