On Sunday, August 10, 2014 8:23:56 AM UTC+5:30, Leonel Câmara wrote:
>
> That's not really an issue, it's using a rotating log, once log reaches 
> max size it creates one of those numbered ones, copies the content there 
> and creates a new one. Your most recent log is the file without a number.
>
Not really- here are the date values from the files (grep | cut| sort -u)  
- 
*my_log.log.1:2014-08-08*
*my_log.log:2014-08-08*
my_log.log:2014-08-09
my_log.log.2:2014-08-06
my_log.log.2:2014-08-07
*my_log.log.2:2014-08-08*
my_log.log.3:2014-08-06
my_log.log.3:2014-08-07
*my_log.log.3:2014-08-08*
my_log.log.3:2014-08-09
my_log.log.4:2014-07-31
my_log.log.4:2014-08-06
my_log.log.4:2014-08-07
*my_log.log.4:2014-08-08*
my_log.log.4:2014-08-09
my_log.log.5:2014-07-24
my_log.log.5:2014-07-26
my_log.log.5:2014-07-27
 
So data is getting written to multiple files at the same time, I feel. 
Since I have a PostgreSQL external table pointing to the file, it becomes a 
more severe issue. I end up dropping records. I have tried guessing the 
issue here 
http://stackoverflow.com/questions/25215677/web2py-and-python-logging 

For now, I have really increased the max file size. Let me wait and watch. 
Hope this helps someone.

-- 
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