logging problem (variable name incomplete)