attach build log to email
removed logging
fixed apt-cache