Manually rotating the logs without stopping the server seems to work ok, so 
I'm fairly confident I'll be alright when I automate it.

To be explicit, manually mv'ing the httpserver.log file works; but so does 
having a logrot.cfg and manually doing logrotate -vf logrot.cfg.
I didn't use the "copy" or "copytruncate" settings in this test, and didn't 
see any issue with lost entries.  Admittedly, the server load is pretty 
light.

(I have 2 clients that are POSTING via SOAP as they cycle through some test 
activities, and the admin user and a couple of other browsers used to 
monitor the DB entries.)

/dps

On Wednesday, September 18, 2013 3:59:23 PM UTC-7, Massimo Di Pierro wrote:
>
> I think it is but I never tried.
>
> On Wednesday, 18 September 2013 12:58:38 UTC-5, Dave S wrote:
>>
>> Silly question time:  is httpserver.log compatible with logrotate?
>>
>> (It looks like the answer is yes when running a simple deployment using 
>> the in-package Rocket server on Fedora 16)
>>
>> (As of this morning, I'm using
>>   2.5.1-stable+timestamp.2013.06.06.15.39.19
>>   (Running on Rocket 1.2.6)
>> but I'm about to hit the upgrade button =8-O )
>>
>> Thanks 
>> /dps
>>
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to