Git Product home page Git Product logo

Comments (4)

russellhancox avatar russellhancox commented on April 28, 2024

Done. I made a few changes to match reality.

Can the regex's be arrays that therefore evaluate sequentially, or does it have to be 'one superregex to rule them all'?

No, it has to be one regex for performance reasons. Of course, you can use | and the like.

Also about regex's, I'm assuming the code comments are telling me the truth about prepending ^ to those that don't have it

The code comments are correct but all that means is that the regex anchors at the beginning of the string so it can't start matching part way through a path. This helps to avoid accidental matches and improves performance.

I also removed the notes about the regexes only applying to the root volume, as that isn't true; file changes on external volumes will be logged if they match the regex.

I messed up the attempt at putting 'skip's in asl.conf, if you could please throw in your working example

Done.

from santa.

arubdesu avatar arubdesu commented on April 28, 2024

Cool! Just one thing I finally figured out: without restarting, HUP'ing syslogd is necessary to have the new config picked up. Please add that note to the bottom of https://github.com/google/santa/wiki/Configuration#logging-configuration

sudo killall -HUP syslogd

from santa.

russellhancox avatar russellhancox commented on April 28, 2024

Done

from santa.

arubdesu avatar arubdesu commented on April 28, 2024

Cool! I'll consider this closed until new features drop. Thanks!

from santa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.