Embedding transformation layer; logging fix