Giter VIP home page Giter VIP logo

Comments (5)

bernhardreiter avatar bernhardreiter commented on September 23, 2024

@tschmidtb51 Do you think that logging is too verbose?

Access to the web-interface and the api is expected only from people who want to upload documents and my thinking is that I would like to log who used these interfaces for an audit trail.

(Another use is analyzing failed login attempts, to see which issuer string was registered precisely.)

from csaf_distribution.

tschmidtb51 avatar tschmidtb51 commented on September 23, 2024

I guess, my main point here is, that this should not be logged as a "error" when it is in fact not an error...

I like logging of fail attempts as errors. No disagreement on that part.
But successful attempts shouldn't be logged as errors (that is confusing). Moreover, that might be a privacy issue 🤔

from csaf_distribution.

sthagen avatar sthagen commented on September 23, 2024

I first thought that way too: error and SUCCESS both in one line ... but then I noticed the continuation and the fact that the tool reads something not mapping to "nil" in golang on std error - so maybe that is not easily "fixable"

from csaf_distribution.

bernhardreiter avatar bernhardreiter commented on September 23, 2024

that this should not be logged as a "error"

Technically this comes from how fcgiwrap does it logging. We could do extra logging, but the question is if the extra complexity is worth it.

Moreover, that might be a privacy issue.

An audit trail maybe required for operating the service. But yes, deletion of logfiles and potential written agreements would be a topic for operating the service, so I'd guess it is out of scope for the software development. The emitted log information could be thrown away on the operation side. Usually it is a good idea to let the operators decide on what they need and how they want to solve this.

from csaf_distribution.

tschmidtb51 avatar tschmidtb51 commented on September 23, 2024

Let's discuss that in our next status meeting.

from csaf_distribution.

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.