The logs displayed when using ascending time order are incorrect
Submitted by Pranav Ganorkar
Link to original bug (#785086)
Description
When GSettings key "sort-order" is set to ascending-time, the logs should be displayed from the starting time (boot-up time) of selected boot.
Currently, the logs are not displayed from the starting time of selected boot when using ascending timestamp order.
In order to do this, we actually need to traverse to the starting journal timestamp of current boot using sd_journal_seek_realtime_usec() and then use sd_journal_next() to get the journal entries in actual ascending order. For reference, you can see this patch: https://bug767995.bugzilla-attachments.gnome.org/attachment.cgi?id=346093 (Though it needs to be rebased on current master).
This needs to be fixed because if someone wants to view logs from system boot-up, he may have to scroll too much to see those logs.
Version: git master