Output (file/log) pattern bug fixed