mick-t / django-tasks

Automatically exported from code.google.com/p/django-tasks
2 stars 0 forks source link

Better log output when running as runserver #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Following issue 9, it will be nice to format the message with the timestamp, 
like django does.
We already logging the time with the log message in the log file when 
djangotask run as a daemon.

So when using "runserver", instead of having:

[07/Dec/2010 09:10:47] "GET /admin/custom_media/img/favicon.ico HTTP/1.1" 200 
485
Task 41 finished with status "successful"
Starting task 42...

we will have:

[07/Dec/2010 09:10:47] "GET /admin/custom_media/img/favicon.ico HTTP/1.1" 200 
485
[07/Dec/2010 09:10:48] Task 41 finished with status "successful"
[07/Dec/2010 09:10:49] Starting task 42...

Original issue reported on code.google.com by thomas.d...@gmail.com on 7 Dec 2010 at 5:49