fix recording logpost