As a developer I would like to work on this project without relying on an internet connection or the messages on the production graylog instance so I can develop more efficiently and deliberately cause test cases to happen.
Possible Solution
There is a containerised version of graylog: https://hub.docker.com/r/graylog/graylog/ so we could provide config to run a local version inside a container on the developer's machine.
I think the best way to populate it with useful data may just be to collect a sample of useful logs from the production graylog instance and ship a script to pipe them back into the server at will. If we go that route then those logs may be published on this public repository, so they should be very carefully reviewed to ensure they do not contain sensitive information!
Acceptance Criteria
yarn dev starts the application up without requiring an internet connection
yarn dev starts the application up without needing to connect to DLS graylog (may still enable this behaviour, but it shouldn't be the default)
The developer has a way to control the logs that appear on the console
As a developer I would like to work on this project without relying on an internet connection or the messages on the production graylog instance so I can develop more efficiently and deliberately cause test cases to happen.
Possible Solution
There is a containerised version of graylog: https://hub.docker.com/r/graylog/graylog/ so we could provide config to run a local version inside a container on the developer's machine.
I think the best way to populate it with useful data may just be to collect a sample of useful logs from the production graylog instance and ship a script to pipe them back into the server at will. If we go that route then those logs may be published on this public repository, so they should be very carefully reviewed to ensure they do not contain sensitive information!
Acceptance Criteria
yarn dev
starts the application up without requiring an internet connectionyarn dev
starts the application up without needing to connect to DLS graylog (may still enable this behaviour, but it shouldn't be the default)