Skip to content

aMuleGUI - Improvements to remote server log view/retrieval #547

Description

@ghysler

Some low priority suggestions for improving the experience of the server log view/retrieval in aMuleGUI:

  1. Upon launching the remote application, the initial view of the server log in the aMule Log tab only shows the last few lines after retrieving the server log. See screenshot below. When scrolling up one line, the rest of the log entries appear.
Image
  1. While the retrieval speed of the server log was greatly improved recently, it still feels rather slow when replaying the log from multiple days with a large download queue. In my situation it takes ~20 seconds to replay a log of ~16000 lines, which seems to be quite a bit slower than the "5000 lines per poll" implemented in Slow retrieval of remote log file in aMuleGUI #445.
    Would it be possible to retrieve the entire server log file in a single request, instead of polling lines?
    EDIT: it appears the GUI is actually slowing this down. When minimizing the GUI after the download queue is loaded, the retrieval of the log finishes in ~5 seconds. Perhaps smooth scrolling is resulting in high CPU load on the remote application, because I see a CPU spike during the log retrieval (also see no. 5)

To summarize:
~20 seconds when aMule Log tab is visible on screen
~10 seconds when Downloads Panel is left activated instead
~5 seconds when application is minimized during log retrieval

  1. There should be no need to replay the entire server log when reconnecting after a disconnect, because the server log is already in memory. Only on a fresh start of the application the entire log file should be retrieved. Would it be possible to retrieve only the new lines from the log since the last disconnect?

  2. It would be nice to see the remote daemon version string in the server log.
    Initialising aMuleD GIT compiled with wxBase(GTK3) v3.2.8 and Boost 1.83
    Although unsure if this entry normally includes the version string when running a stable release.

  3. Smooth scrolling is being forced inside the aMule Log tab. Could this be prevented?

aMuleGUI 3.0.1-227 on Windows 11 x64
aMule developer build 07/20 on Docker Linux 29.6.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions