Skip to content

Conversation

@j-s-rawat
Copy link
Contributor

@j-s-rawat j-s-rawat commented Jul 27, 2022

This script will pull the docker logs where there is a text matching 'error' or 'DATA RACE' for the past 'x' min.
Useful to find errors when user is not sure which container is causing issues and to investigate.
Once an error is spotted then the user can go and try the traditional way of looking at docker logs for further investigation

Usage
./ldl.sh 5
./ldl.sh 5 "cantabular-import-journey_dp-cantabular-api-ext_1 cantabular-import-journey_dp-filter-api_1"

@j-s-rawat j-s-rawat force-pushed the locallogs branch 2 times, most recently from 97babaa to 10d0276 Compare July 27, 2022 08:55
Copy link
Contributor

@PauloPortugal PauloPortugal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check the egrep command as that does not exist on Macs
Use grep -E instead

@j-s-rawat j-s-rawat force-pushed the locallogs branch 3 times, most recently from 7187302 to 58169eb Compare July 27, 2022 09:29
PauloPortugal
PauloPortugal previously approved these changes Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants