Is there a way to log during an uci-defaults script?

Hello,
I'm developing uci-defaults scripts to have a firmware customized for my needs. To check if all commands are well executed, I would like to log in syslog. I tried the logger command but it seems to not be effective as I can't find my logs in syslog.

Thank you for your help.

Uci-defaults run too early for syslog. Try echo‘ing your log messages into /dev/kmsg, you should be able to see them in dmesg later.

3 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.