linux process log location

I am trying to figure out when and why my python program crashes. I have a python program that monitors the linux usb connected serial sensors (nothing running on the arduino side). Where are the kernel logs and the process logs on the Yun? There is nothing in the var/log directory.

uci set system.@system[0].conloglevel=7
uci set system.@system[0].cronloglevel=5
uci set system.@system[0].klogconloglevel=7
uci set system.@system[0].log_file=/var/log/messages
uci set system.@system[0].log_size=1024
uci set system.@system[0].log_type=file
uci commit
reboot

cat /var/log/messages

thanks, Will that stay even after a power recycle, or does that configuration have to be set somewhere in a startup file?

reboot

cat /var/log/messages

It will stay.