========= Log Files ========= Logfiles are an essential part when it comes to debugging your server and figuring what went wrong. This pages contains logfiles from SpongeForge and SpongeVanilla servers including short descriptions. .. contents:: **Provided Logfiles** :depth: 2 :local: SpongeForge logfiles ==================== SpongeForge writes several logfiles to the ``/logs`` folder located inside your servers directory. As of Forge 1521 these are: 1. ``fml-junk-earlystartup.log`` #. ``fml-server-latest.log`` #. ``latest.log`` fml-junk-earlystartup.log ~~~~~~~~~~~~~~~~~~~~~~~~~ .. note:: Only a few example lines are shown here. To read the full example log, follow this link: :download:`SpongeForge 1521 fml-junk-earlystartup.log file ` fml-server-latest.log ~~~~~~~~~~~~~~~~~~~~~ .. note:: Only a few example lines are shown here. To read the full example log, follow this link: :download:`SpongeForge 1521 fml-server-latest.log ` .. code-block:: none [main/INFO] [FML/]: Forge Mod Loader version 11.14.3.1521 for Minecraft 1.8 loading [main/INFO] [FML/]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 8.1:amd64:6.3, installed at ##PATH_TO_JAVA_HERE## [main/DEBUG] [FML/]: Java classpath at launch is forge.jar [main/DEBUG] [FML/]: Java library path at launch is ##PATH_TO_JAVA_HERE## The example log indicates that we're running: * Forge 11.14.3.1521 (Version 1521) * Java 8 64bit Update 51 * Windows 8.1 x64 * the ``directory`` Java was installed to (Line 4) .. warning:: SpongeForge won't run on Java 6 (``1.6.x``) or Java 7 (``1.7.x``). If you encounter an error stating that you run an older Java build than Java 8, please update your JRE to ``1.8.x`` and try again! .. code-block:: none [main/DEBUG] [FML/]: Examining for coremod candidacy spongeforge-1.8-1521-2.1-DEV-750.jar [main/INFO] [FML/]: Loading tweaker org.spongepowered.asm.launch.MixinTweaker from spongeforge-1.8-1521-2.1-DEV-750.jar This indicates that SpongeForge 750 was found and loaded by Forge. For further help regarding the SpongeForge naming scheme, have a look here: :doc:`../getting-started/implementations/spongeforge/`. latest.log ~~~~~~~~~~ .. note:: Only a few example lines are shown here. To read the full example log, follow this link: :download:`SpongeForge 1521 latest.log ` This is the output that you would see in the Minecraft server GUI. SpongeVanilla logfiles ====================== latest.log ~~~~~~~~~~ .. note:: Only a few example lines are shown here. To read the full example log, follow this link: :download:`SpongeVanilla 47 latest.log ` This is the output that you would see in the Minecraft server GUI. Reading logfiles ================ If you're unsure on how to read a common crashlog, you'll find help here, but first we need a crashlog. For this short introduction we will just use an example crash from the :doc:`debugging` page: :download:`Example crashlog of an outdated SpongeForge build `. .. code-block:: none WARNING: coremods are present: SpongeCoremod (sponge-1.8-1499-2.1DEV-575.jar) Contact their authors BEFORE contacting forge The first thing you'll notice is a ``Warning`` that coremods are present. Nothing to worry about here, that's not an error, just a warning to contact Sponge support, not Forge. .. code-block:: none java.lang.NoClassDefFoundError: org/spongepowered/api/event/game/state/GameStartingServerEvent A few lines below the actual error is found. In this case it's a ``NoClassDefFoundError`` If you're unsure what that means, head over to our :doc:`debugging` page. If it's a common error, it will be listed there. If it isn't, you can always ask on the forums for help! Make sure you provide the full crashlog. Luckily your systems details are included at the bottom of the crashlog: .. code-block:: none Minecraft Version: 1.8 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.8.0_51, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 515666256 bytes (491 MB) / 782761984 bytes (746 MB) up to 1847590912 bytes (1762 MB) JVM Flags: 0 total; IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.10 FML v8.0.99.99 Minecraft Forge 11.14.3.1521 5 mods loaded, 5 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UC mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UC FML{8.0.99.99} [Forge Mod Loader] (forge.jar) UC Forge{11.14.3.1521} [Minecraft Forge] (forge.jar) UC Sponge{1.8-1499-2.1DEV-575} [SpongeForge] (minecraft.jar) U Core{unknown} [Core Plugin] (Core.jar) Loaded coremods (and transformers): SpongeCoremod (sponge-1.8-1499-2.1DEV-575.jar) This indicates that * Minecraft 1.8 with Forge 1521 was running on * Java 8 Update 51 (64bit version) and that * 2 additional mods were installed * SpongeForge 1.8-1499-2.1DEV-575 (which is build #575) and * Core .. note:: Please note that the other three installed mods (mcp, FML, Forge) are required on every Forge server and necessary to run properly. Now the following assumptions can be made: * maybe the plugin crashed the server * SpongeForge doesn't match the Forge version: 1499 required, 1521 installed If you want to know how to solve this, head over to our checklist on the :doc:`debugging` page. Common errors ============= Head over to :doc:`debugging` to read about common errors and exceptions.