Jump to content

Is there a way to disable formatted output in console (stdout) ? ?


Naheulf

Recommended Posts

Is there a way to disable formatted output in console ? My server provider doesn't handle ANSI escape char.
So logs look like this :

› [?1h=› [?1h=› [K[06:31:52] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing spawn area: 68%
› [?1h[?1h==› › [?1h=[?1h=› › [?1h=› [?1h=› [?1h=› [?1h=› [K[06:31:54] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing spawn area: 72%
› [?1h=› [?1h=› [?1h=› [?1h=› [K[06:31:55] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing spawn area: 77%
› [?1h=› [?1h=› [?1h=› [K[06:31:57] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing spawn area: 82%
› [?1h=› [?1h=› [K[06:31:59] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing spawn area: 87%
› [?1h=› [?1h=› [?1h=› [?1h=› [?1h=› [?1h=› [K[06:32:01] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing spawn area: 94%
› [?1h=› [?1h=› [?1h=› [?1h=› [K[06:32:02] [Server thread/INFO] [minecraft/DedicatedServer]: Done (170.541s)! For help, type "help" or "?"
› [?1h=› [?1h=› [?1h=› [?1h=› [?1h=› [K[06:32:03] [Server thread/INFO] [advancedrocketry]: Checking for asteroid config at /data/service3056/data/service_item_1084893/./config/advRocketry/asteroidConfig.xml
› [K[06:32:03] [Server thread/INFO] [advancedrocketry]: Checking for ore config at /data/service3056/data/service_item_1084893/./config/advRocketry/oreConfig.xml
› [?1h=› [K[06:32:04] [Server thread/INFO] [advancedrocketry]: Checking for config at /data/service3056/data/service_item_1084893/./world/advRocketry/planetDefs.xml
› [K[06:32:04] [Server thread/INFO] [advancedrocketry]: Advanced Planet Config file Found!  Loading from file.
› [?1h=› [?1h=› [?1h=› [?1h=› [?1h=› [?1h=› [?1h=[?1h=› › [?1h=[?1h=› › [?1h=› [?1h=› [?1h=› [?1h=› [?1h=› [?1h=› [?1h=› [?1h=› [?1h=› [?1h=› [?1h=› [K[06:32:11] [Server thread/INFO] [chancecubes]: Loaded custom rewards for the mod Extra Utilities 2

 

Edited by Naheulf
Remove solved flag
Link to comment
Share on other sites

  • 4 years later...

As long as you don't screw up the log4j config setting then we have a processor that strips them. So make sure you've installed Forge correctly and are launching it in a normal manor. If you are using a host, make sure they arnt adding weird things.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.