crwdns125519:0crwdne125519:0

crwdns125521:0crwdne125521:0

crwdns125525:0crwdne125525:0

crwdns125527:0crwdne125527:0

Note

crwdns125529:0crwdne125529:0

crwdns125531:0crwdne125531:0

crwdns125533:0crwdne125533:0

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

crwdns125535:0crwdne125535: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

crwdns125537:0crwdne125537:0

crwdns125539:0crwdne125539:0

crwdns125541:0crwdne125541:0

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

crwdns125543:0crwdne125543:0

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

crwdns125545:0crwdne125545:0

Note

crwdns125547:0crwdne125547:0

crwdns125549:0crwdne125549: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>

crwdns125551:0crwdne125551: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

crwdns125553:0crwdne125553:0

crwdns125555:0crwdne125555:0

crwdns125557:0crwdne125557:0

  1. crwdns125559:0crwdne125559:0

  2. crwdns125561:0crwdne125561:0

crwdns125563:0crwdne125563:0

Note

crwdns125565:0:download:crwdne125565: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

crwdns125567:0crwdne125567:0

  • crwdns125569:0crwdne125569:0

  • crwdns125571:0crwdne125571:0

  • crwdns125573:0crwdne125573:0

  • crwdns125575:0crwdne125575:0

Warning

crwdns125577:0crwdne125577: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

crwdns125579:0:doc:crwdne125579:0

crwdns125581:0crwdne125581:0

Note

crwdns125583:0:download:crwdne125583:0

crwdns125585:0crwdne125585:0

crwdns125587:0crwdne125587:0

crwdns125581:0crwdne125581:0

Note

crwdns125589:0:download:crwdne125589:0

crwdns125585:0crwdne125585:0

crwdns125591:0crwdne125591:0

crwdns125593:0:doc:crwdnd125593:0:download:crwdne125593:0

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

crwdns125595:0crwdne125595:0

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

crwdns125597:0:doc:crwdne125597:0

crwdns125599:0crwdne125599: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)

crwdns125601:0crwdne125601:0

  • crwdns125603:0crwdne125603:0

  • crwdns125605:0crwdne125605:0

  • crwdns125607:0crwdne125607:0

    • crwdns125609:0crwdne125609:0

    • crwdns125611:0crwdne125611:0

Note

crwdns125613:0crwdne125613:0

crwdns125615:0crwdne125615:0

  • crwdns125617:0crwdne125617:0

  • crwdns125619:0crwdne125619:0

crwdns125621:0:doc:crwdne125621:0

crwdns125623:0crwdne125623:0

crwdns125625:0:doc:crwdne125625:0