crwdns144745:0crwdne144745:0

crwdns144747:0crwdne144747:0

crwdns144751:0crwdne144751:0

crwdns144753:0crwdne144753:0

Note

crwdns144755:0crwdne144755:0

crwdns144757:0crwdne144757:0

crwdns144759:0crwdne144759:0

java -Dlog4j.configurationFile=log4j2_server.xml -jar server.jar

crwdns144761:0crwdne144761:0

<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="warn" packages="com.mojang.util,net.minecraftforge.server.console.log4j">
    <Appenders>
        <TerminalConsole name="Console">
            <PatternLayout pattern="[%d{HH:mm:ss}] [%t/%level] [%logger]: %msg%n"/>
        </TerminalConsole>

        <RollingRandomAccessFile name="DebugFile" fileName="logs/debug.log" filePattern="logs/debug-%i.log.gz">
            <PatternLayout pattern="[%d{HH:mm:ss}] [%t/%level] [%logger]: %msg%n"/>
            <Policies>
                <OnStartupTriggeringPolicy/>
                <SizeBasedTriggeringPolicy size="200MB"/>
            </Policies>
            <DefaultRolloverStrategy max="5" fileIndex="min"/>
        </RollingRandomAccessFile>
    </Appenders>
    <Loggers>
        <Logger level="info" name="org.spongepowered"/>
        <Logger level="info" name="com.example.mod"/>
        <Root level="all">
            <AppenderRef ref="Console" level="info"/>
            <AppenderRef ref="DebugFile"/>
        </Root>
    </Loggers>
</Configuration>

Note

crwdns144763:0crwdne144763:0

crwdns144765:0crwdne144765:0

crwdns144767:0crwdne144767:0

<Logger level="info" name="com.example.mod"/>

crwdns144769:0crwdne144769:0

<Root level="all">
    <AppenderRef ref="Console" level="info"/>
    <AppenderRef ref="DebugFile"/>
</Root>

crwdns144771:0crwdne144771:0

Note

crwdns144773:0crwdne144773:0

crwdns144775:0crwdne144775:0

java -Dlog4j.configurationFile=log4j2_server.xml,log4j2_custom.xml -jar server.jar
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
    <Loggers>
        <Logger name="com.example.logspammer" level="off"/>
    </Loggers>
</Configuration>

crwdns144777:0crwdne144777:0

<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
    <Loggers>
        <Logger name="com.example.newplugin" level="all" additivity="false">
            <AppenderRef ref="Console"/>
            [...]
        </Logger>
    </Loggers>
</Configuration>

Tip

crwdns144779:0crwdne144779:0

crwdns144781:0crwdne144781:0

crwdns144783:0crwdne144783:0

  1. crwdns144785:0crwdne144785:0

  2. crwdns144787:0crwdne144787:0

crwdns144789:0crwdne144789:0

Note

crwdns144791:0:download:crwdne144791:0

[main/INFO] [FML]: Forge Mod Loader version 14.23.4.2705 for Minecraft 1.12.2 loading
[main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_162, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_162
[main/DEBUG] [FML]: Java classpath at launch is:
[main/DEBUG] [FML]:     forge-1.12.2-14.23.4.2705-universal.jar
[main/DEBUG] [FML]: Java library path at launch is:
[main/DEBUG] [FML]:     C:\ProgramData\Oracle\Java\javapath

crwdns144793:0crwdne144793:0

  • crwdns144795:0crwdne144795:0

  • crwdns144797:0crwdne144797:0

  • crwdns144799:0crwdne144799:0

  • crwdns144801:0crwdne144801:0

Warning

crwdns144803:0crwdne144803:0

[main/DEBUG] [FML]: Examining for coremod candidacy spongeforge-1.12.2-2705-7.1.0-BETA-3136.jar
[main/INFO] [FML]: Loading tweaker org.spongepowered.asm.launch.MixinTweaker from spongeforge-1.12.2-2705-7.1.0-BETA-3136.jar

crwdns144805:0:doc:crwdne144805:0

crwdns144807:0crwdne144807:0

Note

crwdns144809:0:download:crwdne144809:0

crwdns144811:0crwdne144811:0

crwdns144813:0crwdne144813:0

crwdns144807:0crwdne144807:0

Note

crwdns144815:0:download:crwdne144815:0

crwdns144811:0crwdne144811:0

crwdns144817:0crwdne144817:0

crwdns144819:0:doc:crwdnd144819:0:download:crwdne144819:0

WARNING: coremods are present:
SpongeCoremod (sponge-1.8-1499-2.1DEV-575.jar)
Contact their authors BEFORE contacting forge

crwdns144821:0crwdne144821:0

java.lang.NoClassDefFoundError: org/spongepowered/api/event/game/state/GameStartingServerEvent

crwdns144823:0:doc:crwdne144823:0

crwdns144825:0crwdne144825:0

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)

crwdns144827:0crwdne144827:0

  • crwdns144829:0crwdne144829:0

  • crwdns144831:0crwdne144831:0

  • crwdns144833:0crwdne144833:0

    • crwdns144835:0crwdne144835:0

    • crwdns144837:0crwdne144837:0

Note

crwdns144839:0crwdne144839:0

crwdns144841:0crwdne144841:0

  • crwdns144843:0crwdne144843:0

  • crwdns144845:0crwdne144845:0

crwdns144847:0:doc:crwdne144847:0

crwdns144849:0crwdne144849:0

crwdns144851:0:doc:crwdne144851:0