i just played around after i wrote the mail. i think it should be put in front of the line. if its too long, we can make something like this:
[09-01-06 13:53][#2 54% upload] ...... i think we don't need seconds?! or without the date? we also can create a configuration in the tilesAthome.conf for this...?! ben On Tue, Jan 6, 2009 at 6:54 PM, Matthias Julius <[email protected]> wrote: > [email protected] writes: > >> hi everyone, >> >> i get in touch with osm just a half year ago. i began to map my area. >> 3 weeks ago, i joined the tah-force :) to render tiles on my >> homeserver. works pretty well out-of-the-box on my debian. >> >> i searched for a possibility to show the time when i render tiles. >> the only thing i found was a wiki entry for a requested feature. >> >> i just tried to implement it by myself. i'm very new to perl, i just >> coded php and rails. >> >> here is the code: >> >> my ($s, $i, $h, $d, $m, $y) = (localtime)[0..7]; >> ++$m; >> $y += 1900; >> my $toprint = sprintf("[#%d %3d%% %s][%4d-%02d-%02d %02d:%02d:%02d] %s%s >> ", >> $progressJobs, $progressPercent+.5, >> $currentSubTask, $y, $m, $d, $h, $i, $s, $msg, ($newline) ? "" : >> "..."); >> >> i hope somebody can review it? > > I was hesitating to implement something like that because it takes up > a lot of space. > > Does anybody else want this, or just the time? > > Matthias > > _______________________________________________ > Tilesathome mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/tilesathome > _______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
