Everything that occurs on your Minecraft server is logged internally in the logs folder. You can access this folder by going through the directories below.
File Manager / logs / latest.log
Your logs are very useful when troubleshooting server issues. Say your server shuts down and you don't know why. You could probably find out by checking your server logs.
You'll mostly find Java warnings and errors in your logs. Logs are made up the Time, the Log Level, and the Info. Take a look at the example below.
[13:50:55] [Server thread/INFO]: Starting minecraft server version 1.12.2
To identify problems with your server, you will most likely look for errors like the one below.
[10:56:03] [Server thread/ERROR]: Encountered an unexpected exception
When you're looking for help with your server, you'll most likely be asked for your server logs. Be careful who you give these to because they could contain personal information like your IP Address. It's best to only give your logs to trusted help experts, or to remove any personal information first. Because server logs can be so length, the best way to share them is by using tools like Pastebin or Hastebin. Pastebin pastes are usually permanent provided you choose the correct setting. Hastebin is faster and easier to use, but the paste is deleted after some time.