Giter VIP home page Giter VIP logo

Comments (3)

greenpau avatar greenpau commented on June 11, 2024

Messaging Providers Is ok, but it would be good if the system can emit web hook style events.

@gedw99 , can it be a separate plugin that attached itself to caddy's logging subsystem?

for reference: https://github.com/caddyserver/caddy/blob/3b3d67871446ee6bf1921938ef0f16b6112c7ceb/modules/logging/filters.go

from caddy-security.

gedw99 avatar gedw99 commented on June 11, 2024

That's an interesting solution. Sort of like doing CDC on a DB.

I have not messed around with Caddy logging enough to know, but logically that could work quite nicely.

Does Caddy Security namespace its loging so that we can easily isolate Caddy Security logs ?

Then we would need to write, Or hunt for a plug that probably exists int he GitHub ether, to publish the relevant events out from there .

from caddy-security.

greenpau avatar greenpau commented on June 11, 2024

Does Caddy Security namespace its loging so that we can easily isolate Caddy Security logs ?

@gedw99 , I don't know the answer. Caddy's logs are zap logs. This plugin also uses zap. Perhaps, there is a way to intercept/hook into all zap loggers.

from caddy-security.

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.