Windows vs Linux Server

Does this code execute diffrently per platform?

@Subscribe
public void onPostInitEvent(PostInitializationEvent postInitializationEvent) {
    logger.info("Plugin Successfully Loaded!");
}

My windows server prints this:

[13:53:41] [Server thread/INFO] [LS-Core]: Plugin Successfully Loaded!

While Linux prints this:

[16:57:27] [Server thread/INFO]: Plugin Successfully Loaded!

Why is this happening?

I very much doubt it has anything to do with the OS running the server.
Are you sure they are running the exact same setup, including server/plugin version and log4j config files?

1 Like

I believe so, I can recheck. I ran into this issue while working with a partner working in windows while I was working on linux.

@tsteinholz_ This is entirely a log4j configuration option. Nothing to do with Sponge, AFAIK.

So what can I do about it? How can I modify the configuration to be simular or the same as Windows?

Check out the Documentation.

2 Likes