BUG: Remove ']]' form output, improve logging