Added server state information to trace log printing