CustomLog in a RoR site?

Discussion in 'Ruby/Rails' started by travisbell, Oct 7, 2008.

  1. travisbell

    travisbell New Member

    Hey guys,

    How would I go about adding a custom log like so for my RoR site:

    CustomLog /path/logs/popularity_log "%{_session_id}C %U"

    I thought I would put it in the "Apache Style Configurations" but it doesn't like it being there.

    Thanks!
  2. mistwang

    mistwang LiteSpeed Staff

    It will not work with LiteSpeed as LiteSpeed does not add arbitrary log file now, you may need to implement it on RoR side somehow.
  3. travisbell

    travisbell New Member

    Hey mistwang,

    Thanks for the prompt response as usual. Do you guys have plans on implementing custom log files?
  4. mistwang

    mistwang LiteSpeed Staff

    No plan yet.
  5. travisbell

    travisbell New Member

    Hey mistwang,

    Thanks.

    Just a FYI, we ended up moving this site to Apache + Passenger since it was a lot easier to use the 1 CustomLog line then write our own logger in Rails. We're still using LiteSpeed to server up all of our PHP though :D

Share This Page