[OSM-dev] mod_tile/renderd logging

Jonathan-David SCHRODER jonathan.schroder at gmail.com
Mon Jan 25 12:28:58 GMT 2010


get back into your screen with screen -r renderd_screen (or screen -r rend
<= string that starts with the name of you screen session, as you can read
it in screen -ls or screen -list)

On Mon, Jan 25, 2010 at 1:27 PM, Jonathan-David SCHRODER <
jonathan.schroder at gmail.com> wrote:

> Hi Jaak,
>
> Instead of hacking your own renderd service start/stop/.. script (eg.
> creating a file /etc/init.d/renderd)...
> ...you can just run renderd in a screen (apt-get install screen) in
> -f(oreground) and redirect its output with redirection to some file while
> keep it going to stdout.
>
> screen -S renderd_screen #creates a screen named renderd_screen
> #run this in screen now
> ./renderd -f 2>&1 | tee -a /var/log/renderd
> # -f => runs renderd in foreground, 2>&1 copies stderr to stdout, | tee -a
> ... takes previous process's stdout and puts it into /var/log/renderd
> #and (D)etach your screen with Ctrl+A then D
>
> If you did not know screen, google for linux screen tutorial to get help on
> using screen.
>
> Take care
>
> Jonathan
>
>
> On Tue, Jan 12, 2010 at 12:08 PM, Jaak Laineste <jaak.laineste at 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
>>
>>  I was getting occasional Segmentation Faults in renderd (when I use
>> >2 threads), this may be useful for troubleshooting.
>>
>> --
>> Jaak Laineste
>>
>> _______________________________________________
>> dev mailing list
>> dev at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20100125/e44c8093/attachment.html>


More information about the dev mailing list