On Tue, 2010-01-12 at 14:10 +0000, Ævar Arnfjörð Bjarmason wrote: > On Tue, Jan 12, 2010 at 11:08, Jaak Laineste <jaak.laine...@gmail.com> wrote: > > Hello, > > Is there a way to save renderd debug log to a file? I can see the > > debug log when I start renderd with -f option, but I'd like to run it > > as normal service, silently, but have debug log in e.g. > > /var/log/renderd.log > > You can run it under inet.d and have it capture its output iirc.
If you have an intelligent syslog daemon (like rsylog or syslog-ng) then that should let you direct the renderd output to another log file. > > I was getting occasional Segmentation Faults in renderd (when I use > >>2 threads), this may be useful for troubleshooting. > > It usually doesn't help at all to capture program output when > something is segfaulting. Compile it with the -ggdb3 flag and run it > under gdb instead. As Avar says, the backtrace from GDB is generally a lot more useful than the log output. > _______________________________________________ > dev mailing list > dev@openstreetmap.org > http://lists.openstreetmap.org/listinfo/dev _______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev