Re: [gitorious] 2 gitorious installations on the same server writes on the same message_processing.log
On Mon, Feb 14, 2011 at 5:09 PM, Renato Isidio wrote: > /opt/ruby-enterprise/bin/ruby /opt/git1/script/git-daemon -d > /opt/ruby-enterprise/bin/ruby /opt/git2/script/git-daemon -d The git-daemon script will not write to the message_processing.log file, only the processors launched by the script/poller script will do this. How do you start these? Also: Running two different Gitorious installations on the same host will need some configuration. From the top of my mind I think of the messages sent to the message queue: you don't want these to be processed by the poller script on another installation. Cheers, - Marius -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] 2 gitorious installations on the same server writes on the same message_processing.log
Hi! Its me again! Could you help me? I have two gitorious installations on the same server and when Ive noticed, they were writing on the same log: message_processing.log. Ive found only 1 entry for it on app/processors/application.rb io = RAILS_ENV == "development" ? STDOUT : File.join(RAILS_ROOT, "log", "message_processing.log") logger = ActiveSupport::BufferedLogger.new(io) #logger.level = ActiveSupport::BufferedLogger.const_get(Rails.configuration.log_level.to_s.upcase) logger.level = ActiveSupport::BufferedLogger::INFO if RAILS_ENV == "production" logger.auto_flushing = true end If they're starting on different folders /opt/git1 and /opt/git2, why they write on the same log? OBS: The startup follows: /opt/ruby-enterprise/bin/ruby /opt/git1/script/git-daemon -d /opt/ruby-enterprise/bin/ruby /opt/git2/script/git-daemon -d OBS2: They always write on /opt/git1/log/message_processing.log thank you in advance! Renato Isidio Rio de Janeiro - Brazil -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com