Re: Catching error messages

2007-02-14 Thread Graham Percival
Cameron Horsburgh wrote: lilypond -dlog-file=log foo.ly lilypond -dseparate-log-files foo.ly bar.ly and no log files. > > Thoughts? They all work on 2.11.18. Evidently something changed between 2.10 and 2.11. Cheers, - Graham ___ lilyp

Re: Catching error messages

2007-02-14 Thread Cameron Horsburgh
On Wed, Feb 14, 2007 at 02:45:46PM +0100, Han-Wen Nienhuys wrote: > Cameron Horsburgh escreveu: > > On Mon, Feb 12, 2007 at 12:09:39PM +0100, Han-Wen Nienhuys wrote: > > > >> don't; -dlog-file=foo is the recommended method. -dseparate-log-files if > >> you need multiple logs. > > > > I might have

Re: Catching error messages

2007-02-14 Thread Han-Wen Nienhuys
Cameron Horsburgh escreveu: > On Mon, Feb 12, 2007 at 12:09:39PM +0100, Han-Wen Nienhuys wrote: > >> don't; -dlog-file=foo is the recommended method. -dseparate-log-files if >> you need multiple logs. > > I might have this wrong, but I have problems with each of these: > > lilypond -dlog-fil

Re: Catching error messages

2007-02-14 Thread Cameron Horsburgh
On Mon, Feb 12, 2007 at 12:09:39PM +0100, Han-Wen Nienhuys wrote: > don't; -dlog-file=foo is the recommended method. -dseparate-log-files if > you need multiple logs. I might have this wrong, but I have problems with each of these: lilypond -dlog-file=log foo.ly runs as expected, but no log

Re: Catching error messages

2007-02-12 Thread Han-Wen Nienhuys
Cameron Horsburgh escreveu: > On Sun, Feb 11, 2007 at 03:13:36PM -0800, Graham Percival wrote: >> Cameron Horsburgh wrote: >>> On Sun, Feb 11, 2007 at 11:40:45AM -0800, Graham Percival wrote: Cameron Horsburgh wrote: > I'd love to be able to specify a log file for either each file or the >

Re: Catching error messages

2007-02-11 Thread Graham Percival
Cameron Horsburgh wrote: On Sun, Feb 11, 2007 at 03:13:36PM -0800, Graham Percival wrote: > lilypond $f &> $f.log Yeah, I eventually got that, or something pretty close. It can be pretty useful. I might write a page for the docs regarding batch processing. The main problem, of course, is tha

Re: Catching error messages

2007-02-11 Thread Cameron Horsburgh
On Sun, Feb 11, 2007 at 03:13:36PM -0800, Graham Percival wrote: > Cameron Horsburgh wrote: > >On Sun, Feb 11, 2007 at 11:40:45AM -0800, Graham Percival wrote: > >>Cameron Horsburgh wrote: > >>>I'd love to be able to specify a log file for either each file or the > >>>entire run. Does this exist? I

Re: Catching error messages

2007-02-11 Thread Graham Percival
Cameron Horsburgh wrote: On Sun, Feb 11, 2007 at 11:40:45AM -0800, Graham Percival wrote: Cameron Horsburgh wrote: I'd love to be able to specify a log file for either each file or the entire run. Does this exist? If not, does anyone have any idea how I might be able to do this? for f in *.ly

Re: Catching error messages

2007-02-11 Thread Cameron Horsburgh
On Sun, Feb 11, 2007 at 11:40:45AM -0800, Graham Percival wrote: > Cameron Horsburgh wrote: > >I'd love to be able to specify a log file for either each file or the > >entire run. Does this exist? If not, does anyone have any idea how I > >might be able to do this? > > for f in *.ly ; do lilypond

Re: Catching error messages

2007-02-11 Thread Graham Percival
Cameron Horsburgh wrote: I'd love to be able to specify a log file for either each file or the entire run. Does this exist? If not, does anyone have any idea how I might be able to do this? for f in *.ly ; do lilypond $f > $f.log ; done; Something like that, at least. Cheers, - Graham _

Re: Catching error messages

2007-02-11 Thread Geoff Horton
Do you need to redirect stderr instead? Geoff ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user