Why is my exit code, which is set in the service instance before it exits, not logged correctly in the SIM log file on Unix platforms?

On Unix platforms, when a service instance (SI) exits , the SIM detects the value of the exit code. The SIM can only log the original code if its value is the range of [-128, 127].