Pliki Logów

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.

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

  2. fml-server-latest.log

  3. latest.log

fml-junk-earlystartup.log

Informacja

Only a few example lines are shown here. To read the full example log, follow this link: SpongeForge 1521 fml-junk-earlystartup.log file

fml-server-latest.log

Informacja

Only a few example lines are shown here. To read the full example log, follow this link: SpongeForge 1521 fml-server-latest.log

[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##

Przykładowy dziennik oznacza, że uruchamiamy:

  • Forge 11.14.3.1521 (Version 1521)

  • Java 8 64bit Update 51

  • Windows 8.1 x64

  • the directory Java was installed to (Line 4)

Ostrzeżenie

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!

[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: Instalacja SpongeForge.

latest.log

Informacja

Only a few example lines are shown here. To read the full example log, follow this link: SpongeForge 1521 latest.log

This is the output that you would see in the Minecraft server GUI.

SpongeVanilla logfiles

latest.log

Informacja

Only a few example lines are shown here. To read the full example log, follow this link: SpongeVanilla 47 latest.log

This is the output that you would see in the Minecraft server GUI.

Czytanie logów

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 Debugowanie page: Example crashlog of an outdated SpongeForge build.

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.

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 Debugowanie 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.

Na szczęście dane twojego systemu znajdują się w dolnej części pliku dotyczącego błędu:

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)

To oznacza, że

  • Minecraft 1.8 z Forge 1521 był uruchomiony

  • Java 8 Update 51 (64bit version) and that

  • 2 dodatkowe mody zostały zainstalowane

    • SpongeForge 1.8-1499-2.1DEV-575 (which is build #575) and

    • Rdzeń

Informacja

Please note that the other three installed mods (mcp, FML, Forge) are required on every Forge server and necessary to run properly.

Teraz poniższe założenia mogą zostać przyjęte:

  • może wtyczka wyłączyła serwer

  • SpongeForge nie pasuje do wersji Forge: 1499 wymagane, 1521 zainstalowane

If you want to know how to solve this, head over to our checklist on the Debugowanie page.

Częste błędy

Udaj się do debugowanie, aby przeczytać o typowych błędach i wyjątkach.