Yes and also on windows. I use tee in order to have print on stdout and also
on a log file. The problem is that I don't see django web server messages on

log file (I see only my logging messages). Maybe I've found the problem
checking
Django source. Server log message are send to stderr (stdout is set as a
file handler)
but tee logs only stdout.
Tnx anyway,
Andrew

2009/7/17 Luke Seelenbinder <lukeq...@gmail.com>

>
> That would depend on the OS you use.
>
> If you use linux:  "python manage.py runserver >> example.log"
> That will save the output in a file, instead of showing it on screen,
> allowing you to have another webserver serve it.
>
> Luke
>
> On Jul 17, 6:38 am, Andrew <andrea.dellapie...@gmail.com> wrote:
> > Hi,
> > I run Django light web server with command line "python manage.py
> > runserver".
> > I must redirect to another stream web server output messages, the ones
> > like "[17/Jul/2009 12:35:58] "GET /home/foo/ HTTP/1.1" 200 1061".
> > Any help?
> >
> > Tnx,
> > Andrew
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to