I'm using rocket and also the usual logging methods on an AWS linux 
system.  This means httpserver.log is in the web2py directory, and the 
logs/web2py.log is below the web2py directory.  Traffic is still low, so 
log rotation doesn't need to happen frequently, and can be done manually, 
but I've been working on logrotate configuration file anyway.

Does the "rotate 5" have to be the first entry in the file-specific 
section?  The man page doesn't say so, and the example included has one 
that isn't, but my first experiments blew away my log because it decided I 
meant rotate=0 (to be even more annoying, it ran the gz step using X Watts 
of power and Y cpu cycles, then deleted the file.  When I moved the 
rotate=5 up above the "monthly" line, things worked the way I expected.

Is this expected behavior, in the experience of the crew of W2PUsers?

(reading httpserver.log can be entertaining with all the different probes 
people are using)

/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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to