Improve log filename

Log filename shall contain the build variant to distinguish log files
from different variants