Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support parsing datetime format for apport.log #55

Closed
jtmoon79 opened this issue Oct 7, 2022 · 0 comments
Closed

support parsing datetime format for apport.log #55

jtmoon79 opened this issue Oct 7, 2022 · 0 comments
Labels
datetime format support for parsing some datetime pattern format enhancement New feature or request good first issue Good for newcomers

Comments

@jtmoon79
Copy link
Owner

jtmoon79 commented Oct 7, 2022

Problem

apport log file apport.log has unsupported datetime format parsing

ERROR: apport (pid 9359) Thu Feb 20 00:59:59 2020: called for pid 8581, signal 24, core limit 0, dump mode 1
ERROR: apport (pid 9359) Thu Feb 20 00:59:59 2020: executable: /usr/lib/firefox/firefox (command line "/usr/lib/firefox/firefox")
ERROR: apport (pid 9359) Thu Feb 20 00:59:59 2020: executable version is blacklisted, ignoring

apport runs on many Debian platform, among others, so it should be supported.

Solution

Add support for the datetime format. Add built-in tests to datetime.rs and comment which test cases are that format.

@jtmoon79 jtmoon79 added enhancement New feature or request good first issue Good for newcomers labels Oct 7, 2022
jtmoon79 added a commit that referenced this issue Dec 31, 2022
Add patterns for log file apport.log.1

Rearrange test `test_DATETIME_PARSE_DATAS_test_cases` to be one
test per entry in `DATETIME_PARSE_DATAS`.

Issue #55
@jtmoon79 jtmoon79 added the datetime format support for parsing some datetime pattern format label Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datetime format support for parsing some datetime pattern format enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant