mod_tile icon indicating copy to clipboard operation
mod_tile copied to clipboard

render_list verbosity

Open pnorman opened this issue 11 years ago • 5 comments

render_list has no options to control the verbosity, but always outputs debug options. An option to only display the results or to display no output except errors would be helpful.

pnorman avatar Apr 25 '13 23:04 pnorman

After eight years this still looks to be an issue. Can I resurrect this request? I'm using render_list and /var/log/syslog got to 60GB before I noticed that it filled my root partition and I turned on log rotations. As a temp fix, it's fine, but long term that burns through the write endurance on an SSD. It should not output DEBUG messages by default and logging should be tunable.

EDIT: found another issue that was closed that said you can modify verbosity in the syslog config (should not require system-wide setting to tune the output of renderd, though). This should still be adjustable for just mod_tile/renderd.

/etc/rsyslog.d/50-default.conf change *.* to *.warn

sranger avatar Oct 14 '21 14:10 sranger

Which version of mod_tile are you running?

pantierra avatar Oct 14 '21 16:10 pantierra

I believe it is whatever is bundled in this package?

libapache2-mod-tile/hirsute,now 0.5-2build1 amd64

sranger avatar Oct 15 '21 16:10 sranger

Significant improvements went into this after this version. So with 0.6.x it should have improved. But leaving this open in order to confirm.

pantierra avatar Oct 15 '21 17:10 pantierra

I don't plan on updating unless Ubuntu updates the package in my current version. Turning rsyslog to "warn" does address my issue of my drive filling up (and stops burning through drive endurance on my SSD) but if there's a way to actually tune renderd debug logging directly even in the new version I couldn't find the documentation for it. If that option exists, link to it and you can probably close this issue. If not (even if renderd/mod_tile logging is "better" in the new version) it seems like a direct option within the configs for them should probably exist?

sranger avatar Oct 15 '21 17:10 sranger