On Jul 17, 3:29 pm, Andrea Della Pietra <andrea.dellapie...@gmail.com>
wrote:
> Django source. Server log message are send to stderr (stdout is set as a
> file handler) but tee logs only stdout.

Bash programming: stderr and stdout 2 file

http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html#ss3.6

$ python manage.py runserver &> example.log

stderr 2 stdout

$ python manage.py runserver 2>&1 | tee log.txt

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