Is there a way increase the number of characters in an event log? #2010
-
I am running the RPI demo project on a raspberry pi 3B right now, and sometimes it appears to crash for no reason giving me errors suggesting the GPIO, LED, and UART drivers cannot be opened. I am trying to debug this , but the error event provided gives me a path to the file is cut short by an apparent character limit on the event log message size. The following is the event log output I am trying to work with for reference: fatalAdapter.AF_ASSERT_1,1001,EventSeverity.FATAL,Assert in file /home/fprime-dev/fprime_rpi_test/rpi_test/fprime/RPI/build-fprime-automatic-arm-, line 2866: 8 You can see that the path ends after 'build-fprime-automatic-arm- ', but this doesn't help me much and in the future I worry I will come across issues where I need this path to troubleshoot different errors. Please let me know if there is a work around, or if I can tweak a setting to allow the event log to print the entire path regardless of its character length. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I find the easiest way to solve this is to set the configuration to use To answer your specific question on increasing that size, you'll likely need to increase several properties:
Hence why it might be easier to uses the truncated version mentioned first. |
Beta Was this translation helpful? Give feedback.
I find the easiest way to solve this is to set the configuration to use
FW_RELATIVE_PATH_ASSERT
instead ofFW_FILENAME_ASSERT
. This throws away all the path from matter (/home/.....) and displays a relative path in repository. That way you can see more.To answer your specific question on increasing that size, you'll likely need to increase several properties: