Rsyslog stops logging after logrotate

Are you seeing an empty /var/log/haproxy.traffic.log file after logrotate does it’s business? Perhaps it’s your postrotate script! Several tutorials on the web call “reload” in the logrotate postrotate script. For example the following is old and busted. On my CentOS systems I removed the error redirect and manually ran logrotate with logrotate -v –force /etc/logrotate.d/haproxy.… Continue reading Rsyslog stops logging after logrotate

Published
Categorized as Debugging

Phaser 3 Touch Scroll on Mobile

While developing Math Command I ran into an issue where mobile users could not scroll the page. It turns out Phaser 3 captures all touch events on the canvas which prevents page scrolling. The root cause is that Phaser automatically calls “event.preventDefault()” on all touch events. A workaround is to set “game.input.touch.capture” to false and… Continue reading Phaser 3 Touch Scroll on Mobile