CustomLog in a RoR site?

travisbell

Well-Known Member
#1
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!
 

mistwang

LiteSpeed Staff
#2
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.
 

travisbell

Well-Known Member
#5
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
 
Top