After you have downloaded the latest.log file, you can open it with a text editor (such as notepad).
This is an example of a line in latest.log:
[11:57:30] [Server thread/INFO]: Debug logging is disabled
The first section encapsulated in [] shows the date when that line was logged.
The second section explains what the log line is about. What you usually need to look at is the section after Server thread/, in this case it says INFO but in other situations it says WARN or ERROR.
If you're having issues with your server you should search for lines with WARN and ERROR.
These warn|error lines are called "Stack traces", essentially long error messages that are printed by a plugin to inform the user of what went wrong.
This is an example of an error:
[21:38:53] [Server thread/ERROR]: Could not load 'plugins/RankGrantPlus.jar' in folder 'plugins'
org.bukkit.plugin.UnknownDependencyException: Vault
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:220) [spigot.jar:git-Spigot-595711b-e8b39d4]
at org.bukkit.craftbukkit.v1_14_R1.CraftServer.loadPlugins(CraftServer.java:347) [spigot.jar:git-Spigot-595711b-e8b39d4]
at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:194) [spigot.jar:git-Spigot-595711b-e8b39d4]
at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:764) [spigot.jar:git-Spigot-595711b-e8b39d4]
This is pretty easy to understand: It means that the RankGrantPlus plugin wasn't able to load ("startup") because of an UnknownDependencyException: aka there is a plugin that rankgrant+ requires to work that isn't installed, and that plugin is vault.
Another example:
[11:56:54] [Server thread/WARN]: java.lang.NullPointerException
[11:56:54] [Server thread/WARN]: at net.paradoxmc.NetworkManager.Points.PointsAPI.getPoints(PointsAPI.java:28)
[11:56:54] [Server thread/WARN]: at net.paradoxmc.NetworkManager.GizmoManager.ScoreboardManager$1.run(ScoreboardManager.java:40)
[11:56:54] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:71)
[11:56:54] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
[11:56:54] [Server thread/WARN]: at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:641)
[11:56:54] [Server thread/WARN]: at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289)
[11:56:54] [Server thread/WARN]: at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584)
[11:56:54] [Server thread/WARN]: at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490)
[11:56:54] [Server thread/WARN]: at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628)
Most of the times to find the error source you need to look at the first few lines, here we can understand there is a "NullPointerException" at a function named getPoints of PointsAPI.java on line 28. (PointsAPI.java:28). The getPoints function was ran by ScoreboardManager$1.run
(The rest of the stack trace is from the server software calling the code)
If you have any questions regarding how to read logs/would like me to edit this topic feel free to reply to it.
Question
DeltaRays
After you have downloaded the latest.log file, you can open it with a text editor (such as notepad).
This is an example of a line in latest.log:
[11:57:30] [Server thread/INFO]: Debug logging is disabled
The first section encapsulated in [] shows the date when that line was logged.
The second section explains what the log line is about. What you usually need to look at is the section after Server thread/, in this case it says INFO but in other situations it says WARN or ERROR.
If you're having issues with your server you should search for lines with WARN and ERROR.
These warn|error lines are called "Stack traces", essentially long error messages that are printed by a plugin to inform the user of what went wrong.
This is an example of an error:
[21:38:53] [Server thread/ERROR]: Could not load 'plugins/RankGrantPlus.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: Vault at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:220) [spigot.jar:git-Spigot-595711b-e8b39d4] at org.bukkit.craftbukkit.v1_14_R1.CraftServer.loadPlugins(CraftServer.java:347) [spigot.jar:git-Spigot-595711b-e8b39d4] at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:194) [spigot.jar:git-Spigot-595711b-e8b39d4] at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:764) [spigot.jar:git-Spigot-595711b-e8b39d4]
This is pretty easy to understand: It means that the RankGrantPlus plugin wasn't able to load ("startup") because of an UnknownDependencyException: aka there is a plugin that rankgrant+ requires to work that isn't installed, and that plugin is vault.
Another example:
[11:56:54] [Server thread/WARN]: java.lang.NullPointerException [11:56:54] [Server thread/WARN]: at net.paradoxmc.NetworkManager.Points.PointsAPI.getPoints(PointsAPI.java:28) [11:56:54] [Server thread/WARN]: at net.paradoxmc.NetworkManager.GizmoManager.ScoreboardManager$1.run(ScoreboardManager.java:40) [11:56:54] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:71) [11:56:54] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [11:56:54] [Server thread/WARN]: at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:641) [11:56:54] [Server thread/WARN]: at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [11:56:54] [Server thread/WARN]: at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [11:56:54] [Server thread/WARN]: at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [11:56:54] [Server thread/WARN]: at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628)
Most of the times to find the error source you need to look at the first few lines, here we can understand there is a "NullPointerException" at a function named getPoints of PointsAPI.java on line 28. (PointsAPI.java:28). The getPoints function was ran by ScoreboardManager$1.run
(The rest of the stack trace is from the server software calling the code)
If you have any questions regarding how to read logs/would like me to edit this topic feel free to reply to it.
Link to comment
Share on other sites
7 answers to this question
Recommended Posts