Giter Club home page Giter Club logo

Comments (2)

joto avatar joto commented on August 27, 2024

I don't think the added complexity is worth it here. Either these are errors which can actually happen in real life in which case we must handle them. Or they are not, which I think is the case here. But then doing the simplest thing is enough to get at least something when testing or so. And that's what we have. We can spend forever coming up with scenarios how this can all fail, but at some point we have to ask ourselves whether it is worth it.

from osmdbt.

mmd-osm avatar mmd-osm commented on August 27, 2024

I see that those errors are currently printed to stderr, so they're no totally lost:

        } else if (parts[2] == "X") {
            std::cerr << "Error found in logfile: " << line << '\n';

I think the basic question here is, what would a sysadmin do with those messages? Would they be part of some monitoring, or disappear into void?

At least the elog warnings would also appear as Warning in the Postgresql log files, where they might be easier to consume for an automated monitoring. Unfortunately, I'm not aware of any guidelines here, so this may all a bit theoretical after all.

from osmdbt.

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.