Logging build console output

Change-Id: I214ab2bb754d6fa6f67b33b503f71984f9399caf
Reviewed-on: http://naan.mimuw.edu.pl:8001/104
Reviewed-by: Piotr Malicki <pmalicki126@gmail.com>
Tested-by: Piotr Malicki <pmalicki126@gmail.com>