Scanning log empty after upgrade?


#1

After upgrading to 18.04 I notice that my weekly usage report is empty, except for the “Scanning logs from 2019-03-18 03:00:01 to 2019-03-25 03:00:01” line

So far I cannot find where and how this scan process is started. Any idea where I start to look to fix this?


#2

Scratch that. I found that this is done by mail_log.py, run from daily_tasks.py.

I tried this command from the command line and got a filled weekly usage report.

No idea what went wrong, but it righted itself again :slight_smile:


#3

Hi, I’m having the same issue, but there is no self-healing at my place :frowning:

When I am calling mail_log.py -t week manually as otherwise done by the scheduler the script runs into errors with the date format:

`ValueError: time data ‘Apr 003 19:32:02’ does not match format ‘%b %d %H:%M:%S’

or

ValueError: time data ‘Apr 7 18:266:01’ does not match format ‘%b %d %H:%M:%S’
`

Any idea where that origins from?