Where is communication between asterisk and linux?

I’m trying to get asterisk to run the System application but something is wrong. Where do I look to see messages from linux during the attempt.
Like if I try System(sudo [command here]) I think linux may ask for the user password. Where can I read that request from linux? Or if I had the file name wrong and linux would respond “file not found” where would I see that?

I’ve looked in /var/log/asterisk/full
also for anything in /var/log/messages

Hi

You have already asked this, and I replied. please keep to the original thread.

Ian

[quote=“ianplain”]Hi

You have already asked this, and I replied. please keep to the original thread.

Ian[/quote]

Sorry about that. I thought my question was different enough for another thread, although it had to do with the same problem.