The log output is not present in syslog/logread output unless logging is enabled, which is costly and undesired. For example, several logs are output in edge actions:
After a reboot with logs DISABLED, logs are not present:
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# logread | egrep "(action_id)"
root@swi-mdm9x28-wp:~#
When logging is enabled, see the result of enabling logs. Rebooting with logs ENABLED result in the desired EA logs being output to syslog as desired:
root@swi-mdm9x28-wp:~# logread | egrep "(action_id)"
May 22 11:46:40 swi-mdm9x28-wp user.info Legato: INFO | cloudInterface[1286]/cloudcomp T=main | operation.c RunSetDefaultValue() 431 | admin_SetJsonDefault("/app/diagnostic/logs/filter", "[{"app":"actions","level":"INFO","pattern":"action_id"}]")
May 22 11:46:40 swi-mdm9x28-wp user.info Legato: INFO | cloudInterface[1286]/cloudcomp T=main | operation.c RunPushValue() 391 | admin_PushJson("/app/diagnostic/logs/filter",0, "[{"app":"actions","level":"INFO","pattern":"action_id"}]")
May 22 11:46:40 swi-mdm9x28-wp user.info Legato: INFO | diagnostic[1311]/components T=main | diag.c diag_LogFilterChangeHandler() 825 | Received filters: [{"app":"actions","level":"INFO","pattern":"action_id"}]
May 22 11:46:40 swi-mdm9x28-wp user.info Legato: INFO | actions[1233]/actionRunner T=Javascript | actionRunner_JS.c js_LogInfoHandler() 1313 | action_id:l64681f3c6cfd23659602d9ee | "*** ulpm_uptime timer count changed *** - now: 0"
May 22 11:46:40 swi-mdm9x28-wp user.info Legato: INFO | actions[1233]/actionRunner T=Javascript | actionRunner_JS.c js_LogInfoHandler() 1313 | action_id:l644ad81318387d225c9fda75 | "bootup timer count changed - now: 0"
May 22 11:46:42 swi-mdm9x28-wp user.info Legato: INFO | actions[1233]/actionRunner T=Javascript | actionRunner_JS.c js_LogInfoHandler() 1313 | action_id:l644ad81318387d225c9fda75 | "bootup timer count changed - now: 1"
May 22 11:46:42 swi-mdm9x28-wp user.info Legato: INFO | actions[1233]/actionRunner T=Javascript | actionRunner_JS.c js_LogInfoHandler() 1313 | action_id:l644ad81318387d225c9fda75 | "starting ulpm_up_timer (only on boot timer val=1) "
May 22 11:46:42 swi-mdm9x28-wp user.info Legato: INFO | actions[1233]/actionRunner T=Javascript | actionRunner_JS.c js_LogInfoHandler() 1313 | action_id:l644ad81318387d225c9fda75 | "getting current time for reference "
May 22 11:46:42 swi-mdm9x28-wp user.info Legato: INFO | actions[1233]/actionRunner T=Javascript | actionRunner_JS.c js_LogInfoHandler() 1313 | action_id:l644ad81318387d225c9fda75 | "current time at bootup: 052223 11:46:42.024"
May 22 11:46:42 swi-mdm9x28-wp user.info Legato: INFO | actions[1233]/actionRunner T=Javascript | actionRunner_JS.c js_LogInfoHandler() 1313 | action_id:l64681f3c6cfd23659602d9ee | "*** ulpm_uptime timer count changed *** - now: 0"
root@swi-mdm9x28-wp:~#
The logs used to be output to syslog without costly diagnostic logs being enabled. Can I get information regarding how to obtain these logs without enabling diagnostic logs?