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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Feedback/Feature Requests > log files

Reply
 
Thread Tools Display Modes
  #1  
Old 10-25-2006, 10:38 AM
inspirix inspirix is offline
Member
 
Join Date: Sep 2006
Posts: 25
Default log files

Not quite a bug, not quite a feature.... hopefully it would be a quick fix:

The log files (stderr.log for example) get locked/closed/something on a server restart:

tail -f stderr.log &
(logs tailed)
lswsctrl restart
(no more logs from tail show up)

in which case you need to break out of the current tail, and redo:

tail -f stderr.log

and then you can continue following the tail

Not sure how this actually happens, but this doesnt seem to be a common thing among any apps ive tried. I cant think of any where the tail wouldnt keep working.

Anyways, not a huge deal, just a little thing I noticed.
Reply With Quote
  #2  
Old 10-25-2006, 11:59 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
We'll check this out and see there is a work-around on our end.

I can see how this is useful since many log monitors use the tail function.
Reply With Quote
  #3  
Old 10-31-2006, 10:11 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
It does happen with error.log, as LSWS rotates the error log file for each restart. But for stderr.log, "tail -f" works fine after restarts, at least on my test server.
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 07:52 AM.



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