server: move id to the head of log line