aternosorg / mclogs

Paste, share and analyse Minecraft logs
https://mclo.gs
MIT License
183 stars 33 forks source link

When a log is too big, mclogs misbehaves #42

Closed Soapy7261 closed 1 year ago

Soapy7261 commented 2 years ago

When i submit a log thats about 7MB, mclogs misbehaves, the file was 7.29MB When using the website it brings me to https://mclo.gs/undefined When using the API, it says there is no content field Video: https://user-images.githubusercontent.com/81933267/197589457-45560440-e6e1-4139-ae88-9597892ff5a4.mp4

JustRed23 commented 1 year ago

Same as aternosorg/mclogs-java#5

JulianVennen commented 1 year ago

Hi, the main issue with this is the default PHP post size limit. We have increased this from 8 MB to 16 MB. We're also adding a limit of 25k lines. New logs will automatically be shortened to that length to prevent exceeding the memory limit and to prevent large logs from breaking browsers, especially on mobile devices.

LeStegii commented 1 year ago

Would it be possible to split a log into multiple links? Especially with modpacks, logs tend to get quite big and this would be a cool feature :)

Soapy7261 commented 1 year ago

I think it'd be cool for a "See more" button at the bottom to prevent some browsers instantly crashing

Dobby-progam commented 1 year ago

Yes that would be useful, then support can't miss out on hidden lines where potential crucial information is located