Skip to main content

What controls the length of runtime error messages in the console log?

  • July 29, 2016
  • 0 replies
  • 0 views

The Issue:

Is there a configuration change in the Micro Focus server that allows more information to be displayed for runtime error messages in the console log? The error message being received is truncated.

After making some changes locally to shorten the path where a program was compiled from, it was realized that more information would be displayed if there was sufficient room to display it.

What controls the length and display of the lines in a console log file? These lines that report error text and codes seem to be controlled by something different from what controls the length of the other lines in the console log.

The Resolution

There is no way to control the length of these lines in the console log.

Here is more detail on error messages that appear in the console log:

The content of the message which appears will differ depending on the error.

The CAS process gives that message to the message processing routine, but will truncate the content of the runtime error message to 190 bytes,

The message processing will generate a standard console message (ie., including message id, pid, timestamp, etc) that includes information on the error message.

Since a standard console message is restricted in length (we do not want to allow extremely long messages as it could make the console log more difficlut to read), we may have to truncate the runtime message that was passed to us to ensure that we can add the standard console message information.

The full content of the runtime error message will be visible in the dump that would be generated as a result of the error.


#EnterpriseDeveloper
#MFDS

0 replies

Be the first to reply!