Git Product home page Git Product logo

Comments (10)

dmolik avatar dmolik commented on August 28, 2024

would this be a good time to bring up logging to syslog?

from crun.

giuseppe avatar giuseppe commented on August 28, 2024

@dmolik if you need that, I can try to add it in the current mess :-)

Is it anything runc already does and we need to keep some CLI compatibility? If not, would something like --log=syslog:IDENTITY be good for you?

from crun.

giuseppe avatar giuseppe commented on August 28, 2024

@dmolik I've opened https://github.com/giuseppe/crun/pull/28

It is still work in progress, but you can start using syslog, like crun --log=syslog: and journald as crun --log=journald:. If not specified, they both use the container name as the identifier, otherwise they use whatever is specified after :. So for example if you want to override an identifier in the logging, you can do: crun --log=syslog:FOO.

What do you think?

from crun.

dmolik avatar dmolik commented on August 28, 2024

Setting the facility name would be cool.

from crun.

giuseppe avatar giuseppe commented on August 28, 2024

I've implemented that functionality in the PR.

You can use --log=syslog:IDENTITY to override the identifier, otherwise it defaults to the container name. Similarly for --log=journald:

from crun.

giuseppe avatar giuseppe commented on August 28, 2024

is that enough for you? :-) Can I merge the PR?

from crun.

dmolik avatar dmolik commented on August 28, 2024

LGTM. Thanks! Sorry for the slow response.

from crun.

rhatdan avatar rhatdan commented on August 28, 2024

@giuseppe Should this issue be closed?

from crun.

rhatdan avatar rhatdan commented on August 28, 2024

@giuseppe Can we close?

from crun.

giuseppe avatar giuseppe commented on August 28, 2024

yes, let's close it as there is no work going on and it is not really a specific issue

from crun.

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.