Skip to content

Sorted by time output in unifiedlogs_* scripts #31

Open
@cvandeplas

Description

@cvandeplas

I'm struggling a bit with the output of the unifiedlog_* example scripts.
The output is currently not time-sorted, which makes post-processing data in some cases not possible.

Considering the size of a logarchive sorting afterwards can be memory and cpu intensive.
I'm wondering if there would be a way to output the data in a sorted way as the native apple tool also exports sorted by time.

With the current logic of iterating over the archive_path types I guess that will not work.
Not being that familiar with the true datastructure behind (and thank you for that, as that's the beauty of your library) I'm not sure if it is really feasible. Same with the trick of handling oversized entries.

Do you think there is a clean way to do so?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions