You also need to redirect the stderr: task > foo.txt 2>&1
this redirects it to the stdout, so it gets logged to the same file. On Tue, Jan 11, 2011 at 15:56, Javier Garcia <tirengar...@gmail.com> wrote: > Hi, > > i have a long error message when i execute a task. In order to save > the output i'm writing "task > foo.txt". > > But when i open foo.txt the error messages are not there. > > Any idea? Any alternative? > > Regards > > Javi > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en