feat: access logs #126
Reference in New Issue
Block a user
Delete Branch "access-log"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
abra.shThe crowd sec PR also adds access logs. #122
Will it be possible to reuse the access log implementation from here in the crowd sec PR? @devydave
mmm according to this, crowdsec should be able to parse json logs so we could merge both implementations. maybe make crowdsec depend on access-log?
that should work I can adjust it, when this is merged. One thing I am unsure should we add docs for new users that they need to include COMPOSE_FILE="$COMPOSE_FILE:compose.access-log.yml" or should I set ACCESS_LOG_ENABLED: "true" in the crowdsec compose file.
@devydave i'm not sure what is best:
ACCESS_LOG_ENABLEDoncompose.crowdsec.ymlwithout adding the volume, so if you want persistent storage you need to enablecompose.access-log.ymlyourselfCOMPOSE_FILE="$COMPOSE_FILE:compose.access-log.yml:compose.crowdsec.ymlso enabling crowdsec also enables access-log without further readingView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.