[LOG] only build output strings if log level is enabled

Change-Id: I6d280dbcc5f0786d97fc69cb657ebc7df9b179f8
Reviewed-on: http://saros-build.imp.fu-berlin.de/gerrit/1319
Tested-by: Jenkins CI
Reviewed-by: Stefan Rossbach <srossbach@arcor.de>