Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Logs from Advanced Scheduler are not parsed correctly #9

Open
ktst79 opened this issue Sep 4, 2020 · 0 comments
Open

Logs from Advanced Scheduler are not parsed correctly #9

ktst79 opened this issue Sep 4, 2020 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ktst79
Copy link

ktst79 commented Sep 4, 2020

pid format of Advanced Scheduler is advanced-scheduler.nnnn.
However, following regex in parser_logplex.rb doesn't support the format (especially hyphen).

HTTPS_REGEXP = /^([0-9]+)\s+<(?[0-9]+)>[0-9]* (?[^ ]) (?<drain_id>[^ ]) (?[a-zA-Z0-9_/.-]*) (?[a-zA-Z0-9.]+)? *- (?.)$/

Hence, if the log is "advanced-schedule.nnnn message", the pid will be "advanced" and the message will be "schedule.nnnn - message"

@wolf31o2 wolf31o2 added bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed labels Feb 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants