Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P316
fetch logs and compute group by end of exception message to have a sensible output of error occurrences
Active
Public
Actions
Authored by
ardumont
on Oct 15 2018, 4:22 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
```
export PYTHONPATH=$SWH_ENVIRONMENT_HOME/snippets/ardumont:$PYTHONPATH
python3 -m kibana_fetch_logs > output.txt
cat output.txt | python3 -m group_by_exception --loader-type hg > output-group-by.txt
```
kibana_fetch_logs.py, group_by_exception.py in repository snippets:ardumont/
Event Timeline
ardumont
created this paste.
Oct 15 2018, 4:22 PM
2018-10-15 16:22:26 (UTC+2)
ardumont
mentioned this in
T1159: hg loader: Schedule oneshot tasks for googlecode origin ingestion
.
Oct 15 2018, 4:25 PM
2018-10-15 16:25:08 (UTC+2)
ardumont
mentioned this in
T1246: pypi loader: Analyze existing errors
.
Oct 16 2018, 2:03 PM
2018-10-16 14:03:49 (UTC+2)
Log In to Comment