add remote logger
use environment variable to disable web compression in production