small fixes for logging and sieve interaction also made fixes for static content.