lucko / spark

A performance profiler for Minecraft clients, servers, and proxies.

Home Page:https://spark.lucko.me/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Include latest.log with '--include-log' in profiler upload

QarthO opened this issue · comments

Description

With this feature, spark will be the perfect debugging tool. No extra needed steps.

I know you, lucko, already have a paste site (https://pastes.dev) so this could be perfect use case for it. You'd just need to parse out IPs or any other sensitive data, similarly to how https://mclo.gs does.

Proposed Behaviour

Command: /spark profiler start --timeout 300 --include-log

Would run a profiler for 5 minutes, then at the end, the upload includes the current contents of the latest.log to a paste site.
The logs will easily be viewable inside the spark web viewer on https://spark.lucko.me/

Extra Details

Potentially even be able to jump to a time in the logs by clicking on the graphs on the spark viewer