add debug for handler postlog