[PATCH v4 2/2] server: use TRACE* macros instead of fprintf(stderr)