Accessing SugarCRM logs using an external API

Hello!

Is there any way to access the SugarCRM logs from an external API?

Thanks in advance,

Ioana