LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > CustomLog in a RoR site?

Reply
 
Thread Tools Display Modes
  #1  
Old 10-07-2008, 12:59 AM
travisbell travisbell is offline
Senior Member
 
Join Date: Jan 2007
Location: Calgary, Canada
Posts: 51
Default CustomLog in a RoR site?

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!
__________________
Travis Bell
Meticulo
Reply With Quote
  #2  
Old 10-07-2008, 06:36 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
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.
Reply With Quote
  #3  
Old 10-07-2008, 03:15 PM
travisbell travisbell is offline
Senior Member
 
Join Date: Jan 2007
Location: Calgary, Canada
Posts: 51
Hey mistwang,

Thanks for the prompt response as usual. Do you guys have plans on implementing custom log files?
__________________
Travis Bell
Meticulo
Reply With Quote
  #4  
Old 10-07-2008, 03:47 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
No plan yet.
Reply With Quote
  #5  
Old 10-08-2008, 05:28 PM
travisbell travisbell is offline
Senior Member
 
Join Date: Jan 2007
Location: Calgary, Canada
Posts: 51
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
__________________
Travis Bell
Meticulo
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:17 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.