Code Monkey home page Code Monkey logo

mclogs's People

Contributors

julianvennen avatar kurtthiemann avatar matthi4s avatar miataboy avatar pavog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mclogs's Issues

Bug with gh icon

Is the github icon (background) not supposed to fit with the color scheme on the top?
Screenshot 2023-06-18 122950

mobile site is broken

text does not wrap on the mobile site, so you have to zoom out; but the background does not continue, so it's impossible to read the text in the logs
(iPhone 12 mini, iOS 16.0)
image

Feature Request

make it so when a player shares their crash logs, or when the server crashes and the log was sent
it highlights the error and whats causing it
so it makes exaroton and Aternos discord support easier

[FEATURE] - Utilise the modrinth API

A cool feature would be that if mclogs detects an issue related to a mod. E.g. install x mod greater or lower than the given number… then it will use the version/mod loader that it can also view in the log to send a request to the modrinth API and return links of potential mods that would act as a replacement

Insights API

Using the API, It should be able to see the errors and possible solutions from the automatic error detection since that's one of mclogs's main features

Chinese garbled code

The log files show Chinese normally, but when uploaded to the website, the Chinese is garbled.
image

Automatically detect this problem

I would like you to add the following message as an an automatically detected problem because it appears when the server crashes due that error, so adding it to the analysis would be helpful for users to identify what's the crash reason of the server.

  • Error message from the log: "mod_name (mod_id) encountered an error during the event_name event phase"
  • Example message for the analysis: "The mod 'mod_name' has encountered an error."
  • Server log for reference: https://mclo.gs/hhwZ2Y9#L175

new auto detection

hello, it will be very nice if you also want to add aternos errors to the automatic detection

Like [Aternos System/ERROR]: Server was stopped because it took too long to start. Try reducing the load to avoid this in the future.
So that we don't always have to scroll through 1000 logs before we see this (forge server)

I hope it's possible
Dobbie

API returns 403 when logs are uploaded

Seems like the latest changes broke the API, when uploading normal logs it seems to be returning 403 forbidden, but when random garbage text is uploaded the API will work as expected (I am using the mclogs-java repo for uploading logs if that helps)

apitest

Doesn't hide ipv6 address's in logs.

Voting for the server uses the clients ipv6 address while the client may connect to the server using ipv4. This is an issue because while it hides there ipv4 address it doesn't hide there ipv6 address from voting sites or joining.

Add a "raw view" page to the mclo.gs website

Hi,

A lot of plugin devs have various systems in place to automatically scan logs as they are sent in Discord chats etc. In order to not scan the HTML document (for speed and "false positive" reasons), generally raw URLs are used to scan the log file.

Is it possible for mclo.gs to add a /raw/ URL pattern?

For example, Pastebin mirrors every https://pastebin.com/somepaste URL with https://pastebin.com/raw/somepaste. This raw URL returns only the paste contents without any HTML.

Duplicate field name issue

Trying to play on tlauncher. Installed pack, played for sometime, then closed the client. Tried to launch client once again and got crashed.

Log: Crash report.txt

OptiFine is deleted

1.8 java isn't supported

[02:46:15] [ERROR]: Could not load 'plugins/mclogs-bukkit-2.6.3.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: gs/mclo/bukkit/MclogsPlugin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:134) ~[spigot.jar:git-iSpigot-PaperEdition] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:314) ~[spigot.jar:git-iSpigot-PaperEdition] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:246) ~[spigot.jar:git-iSpigot-PaperEdition] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(SourceFile:335) ~[spigot.jar:git-iSpigot-PaperEdition] at net.minecraft.server.v1_8_R3.DedicatedServer.init(SourceFile:324) ~[spigot.jar:git-iSpigot-PaperEdition] at net.minecraft.server.v1_8_R3.MinecraftServer.run(SourceFile:734) ~[spigot.jar:git-iSpigot-PaperEdition] at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_362] Caused by: java.lang.UnsupportedClassVersionError: gs/mclo/bukkit/MclogsPlugin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_362] at java.lang.ClassLoader.defineClass(ClassLoader.java:756) ~[?:1.8.0_362] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_362] at java.net.URLClassLoader.defineClass(URLClassLoader.java:473) ~[?:1.8.0_362] at java.net.URLClassLoader.access$100(URLClassLoader.java:74) ~[?:1.8.0_362] at java.net.URLClassLoader$1.run(URLClassLoader.java:369) ~[?:1.8.0_362] at java.net.URLClassLoader$1.run(URLClassLoader.java:363) ~[?:1.8.0_362] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_362] at java.net.URLClassLoader.findClass(URLClassLoader.java:362) ~[?:1.8.0_362] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:102) ~[spigot.jar:git-iSpigot-PaperEdition] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:87) ~[spigot.jar:git-iSpigot-PaperEdition] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_362] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_362] at java.lang.Class.forName0(Native Method) ~[?:1.8.0_362] at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_362] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:65) ~[spigot.jar:git-iSpigot-PaperEdition] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:130) ~[spigot.jar:git-iSpigot-PaperEdition] ... 6 more

Server crashing on start

Hello, im trying to start a server with forge 1.16.4 (35.1.37) with 64 mods:
AppleSkin-mc1.16.2-forge-1.0.14.jar
ars_nouveau-1.16.4-1.11.4.jar
BetterCaves-Forge-1.16.4-1.1.1.jar
BloodMagic-1.16.4-3.1.0-15.jar
Botania-1.16.4-411.jar
BotaniaAdditionsMC1.16.4-1.0.4.jar
Bountiful Baubles FORGE-1.16.3-0.0.2.jar
byg-1.1.8.jar
ChickenChunks-1.16.4-2.7.0.85-universal.jar
chocolate-1.3.0-1.16.4.jar
Chunk Pregenerator-V1.16-3.0.3.jar
citadel-1.6.0.jar
ClassicCombat-1.16.4-universal.jar
Clumps-6.0.0.15.jar
CodeChickenLib-1.16.4-3.5.1.408-universal.jar
curios-forge-1.16.5-4.0.4.0.jar
DungeonCrawl-1.16.3-2.2.4.jar
dungeons_plus-1.16.4-1.1.3.jar
eidolon-0.2.7.jar
elevatorid-1.16.4-1.7.10.jar
EnderStorage-1.16.4-2.7.1.166-universal.jar
furniture-7.0.0-pre19-1.16.3.jar
geckolib-forge-1.16.5-3.0.13.jar
gravestone-1.16.4-1.0.9.jar
iafgear-1.16.3-1.0.2.jar
iceandfire-2.1.5-1.16.4.jar
ImmersiveEngineering-1.16.4-4.1.2-129.jar
industrial-foregoing-1.16.4-3.2.8.2-6b5c95b.jar
ironchest-1.16.4-11.2.10.jar
ironfurnaces-1.16.4-2.5.8.jar
jei-1.16.4-7.6.1.71.jar
looot-1.16.4-1.0.0.3.jar
mahoutsukai-1.16.5-v1.28.0.jar
managear-1.16.3-2.2.3.jar
Mekanism-1.16.4-10.0.19.446.jar
ModularPowersuits-1.16.4-2.0.2.jar
Morpheus-1.16.4-4.2.68.jar
Neat 1.7-27.jar
NetherPortalFix_1.16.3-7.2.1.jar
nuclear_craft-1.16.4-0.6.4.jar
Numina-1.16.4-2.0.3.jar
obfuscate-0.6.0-1.16.3.jar
pamhc2foodcore-1.16.3-1.0.2.jar
Patchouli-1.16.4-48.jar
reap-1.16.4-1.0.3.jar
refinedstorage-1.9.12.jar
repurposed_structures-1.16.4-2.3.4.jar
SilentGear-1.16.3-2.5.5+213.jar
SilentLib-1.16.3-4.9.1+64.jar
sophisticatedbackpacks-1.16.4-2.1.1.153.jar
Space-Bosstools-1.16.4-4.1.jar
structure_gel-1.16.4-1.7.5.jar
The_Undergarden-1.16.5-0.4.5.jar
TheAbyss2 1.2.0 1.16.4.jar
titanium-1.16.5-3.2.6.2.jar
TrashSlot_1.16.3-12.2.1.jar
valhelsia_structures-16.0.5.jar
Vampirism-1.16.4-1.7.4.jar
walljump-forge-1.16.4-1.3.7.jar
Waystones_1.16.3-7.3.1.jar
workshopsofdoom-1.16.4-1.1.0.1.jar
Xaeros_Minimap_21.2.0.2_Forge_1.16.5.jar
XaerosWorldMap_1.11.11.2_Forge_1.16.5.jar
YungsApi-1.16.4-Forge-4.jar

So, the server has already been opened but sometimes when i try to open it, it keeps crashing, i have searched the logs but didnt found the exact mod that is causing the crash. Need help to solve this problem and want to know what mods are causing this problem. The crash log link is: https://mclo.gs/Btc2Xbp

Detect this problem

Confused why mclogs didn’t auto detect this. This was the log for reference tho, the issue was actually in the log itself:

A potential solution has been determined:
     - Replace mod 'Entity Model Features' (entity_model_features) 0.2.8 with any version that is compatible with:
         - cem 0.7.1_S8_1.19-1.19.2

Version number censored

In some logs the version numbers are censored.
That's probably because mclogs detects these as ip addresses.

Original

[2023-07-13 10:27:17:565 INFO] Starting Server
[2023-07-13 10:27:17:565 INFO] Version: 1.20.11.01
[2023-07-13 10:27:17:565 INFO] Session ID: d962a227-9578-439f-893b-65b1bf5b915f
[2023-07-13 10:27:17:565 INFO] Build ID: 16423281
[2023-07-13 10:27:17:565 INFO] Branch: r/20_u1
[2023-07-13 10:27:17:565 INFO] Commit ID: 52edfe76050d27eb8b174c1fe73eb58332208093
[2023-07-13 10:27:17:565 INFO] Configuration: Publish
[2023-07-13 10:27:17:566 INFO] Level Name: world
[2023-07-13 10:27:17:569 INFO] Game mode: 0 Survival
[2023-07-13 10:27:17:569 INFO] Difficulty: 1 EASY

mclogs

[2023-07-13 10:27:17:565 INFO] Starting Server
[2023-07-13 10:27:17:565 INFO] Version: **.**.**.**
[2023-07-13 10:27:17:565 INFO] Session ID: d962a227-9578-439f-893b-65b1bf5b915f
[2023-07-13 10:27:17:565 INFO] Build ID: 16423281
[2023-07-13 10:27:17:565 INFO] Branch: r/20_u1
[2023-07-13 10:27:17:565 INFO] Commit ID: 52edfe76050d27eb8b174c1fe73eb58332208093
[2023-07-13 10:27:17:565 INFO] Configuration: Publish
[2023-07-13 10:27:17:566 INFO] Level Name: world
[2023-07-13 10:27:17:569 INFO] Game mode: 0 Survival
[2023-07-13 10:27:17:569 INFO] Difficulty: 1 EASY

Link: https://mclo.gs/meoZaFy

IP v4 filter is:

protected const IPV4_FILTER = [
    '/^127\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/',
    '/^0\.0\.0\.0$/',
    '/^1\.[01]\.[01]\.1$/',
    '/^8\.8\.[84]\.[84]$/',
];

https://github.com/aternosorg/mclogs/blob/master/core/src/Filter/Pre/Ip.php

Velocity plugin

Are there any plans for a velocity plugin version of mclogs?

Provide a way to disable word wrapping

While word wrapping has its benefits in some areas with readability, sometimes in the logs minecraft can produce it just completely messes up. Most notably are the mod tables from the 0.18.1 versions of quilt which uhhh...

image

A certain CraftTweaker script file cannot be uploaded: Network Error

It was a bit weird. Someone wrote this script (link will expire in 21 days)
and find it could not be uploaded to mclo.gs. I and another person, wanted to help him, but we reproduced the issue he met.

I made a simple test:
I deleted all the Chinese characters in the script but this script was still unable to be uploaded.
then I deleted all "functions" in it, then the uploading succeeded: https://mclo.gs/jGlil3f

I have no clue about such an issue, and before I post this one I did a brief search in Issues and found nothing related.
You know that a person doing CraftTweaker scripting and debugging it needs to paste both logs and scripts he/she has written, so paste CraftTweaker script (*.zs) on mclo.gs may be reasonable somehow.

Your kind-hearted helps are highly appreciated indeed.
Thanks in advance.

Support for multiple languages

(Google Translate):

I am a player from mainland China, I hope mclogs can support multiple languages, support Simplified Chinese, Traditional Chinese, etc.

In this way, I can recommend mclogs to my friends.

Thanks♪(・ω・)ノ


我是一位来自**大陆的玩家,我希望 mclogs 能支持多语言,支持 简体中文 、繁体中文 等

这样我就能向我身边的朋友们推荐 mclogs 。

谢谢Thanks♪(・ω・)ノ

add quilt support

Quilt is a new modding toolchain. Currently, when someone uses Quilt mclo.gs shows server software vanilla

image

How big of a log can be used on your website

wanting to sort thew a couple of log files , and instead of uploading 3 or more, i used a script to merge the logs to one file.
the website reads it fine. takes awhile. but when i save. it goes no way 404 . Is there a Line limit or size?

Keeps 404ing

Whenever I click save on a log it 404s, tried different logs & different sized logs.

Hide the value of `USERNAME` in the JVM crash log

I must first admit that I am not a professional programmer, so I apologize if any irregularities in the terminology used in the rest of this article cause you any inconvenience in understanding.

The "JVM crash logs" I describe are generated when JVM crashes, which often have a file name like hs_err_pid<number>.log.

This log is an example: https://mclo.gs/3BsZafd

I always use mclogs to post them when they are required.
I find that, mclogs will hide all username in logs, when the username is presented in the directory of User folder, like this:
C:\Users\********\AppData\Local

However, the JVM crash log have a line like:
USERNAME=<current user name logged in>
But the user name in this line is not hidden, so all the other desensitization work is done for nothing.
You will see <Here it is> because I desensitized that manually.

This is all I have to give feedback.
Thanks in advance for your kind-hearted helps.

Client Mod

I was thinking about writing a client side mod that on crash, pops up a window with the full log with a button a button to copy to clipboard, a button to go to folder, and a button to upload and copy url to clipboard (and a checkbox for automatically uploading the log, disabled by default)

Since mclogs is really helpful for modders, I want try to get the mod as known as possible. Being able to use the logo (probably modified to indicate client-ness) and having it listed on the site would help a lot. Is either of these possible?

It also could be under the org if you want it to be official and have control over the project.

I thought about PRing the mods directly to add it, but that would cause boat when used on the server, and might cause confusion for users playing single player if there's also commands.

Thanks for reading,
Jakob

Server crashing a few time after launch

I don't know why but the server recently started to crash when i stay more than like 10 minutes, i added mods recently too but this was happening before too so i really don't know the problem if someone could help me.

Thanks, and sorry for my bad english.

https://mclo.gs/ev95Jm5

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.