How to determine what is causing Mac Pro to automatically log out and where to find logs of logout events?
In your utilities folder, in your Applications folder, you'll find the console app. You can use this app to look at the system logs. The console app, when started looks like so: 



There are several log files listed. I suggest you double-click on the system log and in the search box at top of window search for logout.