-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service not logging under Systemd #3
Comments
Hi @Immortalin, The Linux build was originally made to enable easier testing of cFE: developers could get up and running quickly on their local machine instead of messing with a dev board. So I am not surprised if cFE does not take advantage of many features available in Linux. For example, cFE uses threads for applications instead of processes (the multi-threading model matches cFE's original targets: embedded real time operating systems like VxWorks and RTEMS). Maybe the community site (http://coreflightsystem.org/) would be a better place to ask this question? |
Defining different logging behavior per OS should be doable via PSP/OSAL, although the current log layer isn't designed to support it. Replacing logfile write calls in certain platforms with a journal write call would be the way to do it. |
When ran from shell, cFE prints to stdout. Journalctl usually captures everything that goes to stdout transparently i.e. no config needed but in this case it doesn't seem to be working. |
https://coreflightsystem.org/ has links to submit bugs or contact the cFS community for support if the issue still persists. |
When ran on POSIX systems with SystemD, cFE's log doesn't show up on
journalctl
, the default logging service. It records all stdout by default. A test with a standard hello world C program on infinite loop showed that the stdout wasn't being buffered or detached. Any help would be greatly appreciatedThe text was updated successfully, but these errors were encountered: