Giter VIP home page Giter VIP logo

Comments (7)

jterry75 avatar jterry75 commented on May 16, 2024

@jhowardmsft - You said docker will show you these logs? How can @rn view them or am I missing that these are different commands than what you thought I had said offline.

Otherwise will use an io.MultiWriter here

from opengcs.

lowenna avatar lowenna commented on May 16, 2024

Certainly the command being executed itslogged in full when the daemon is run in debug mode (dockerd -D)

eg (just a couple)

DEBU[2017-08-07T13:21:47.207258300-07:00] opengcs: RunProcess: ls /sys/bus/scsi/devices/0:0:0:3/block

DEBU[2017-08-07T13:21:47.236063500-07:00] opengcs: RunProcess: mkfs.ext4 -q -E lazy_itable_init=1 -O ^has_journal,sparse_super2,uninit_bg,^resize_inode /dev/sdb

from opengcs.

rn avatar rn commented on May 16, 2024

I may have missed that in the busy debug logs. Do you know if the output of the commands is also avail?

from opengcs.

lowenna avatar lowenna commented on May 16, 2024

@rn no, it's not. What commands specifically are you interested in?

from opengcs.

rn avatar rn commented on May 16, 2024

just in general. It's hard to predict which command may fail :)

It would have helped debugging in the past if I had gotten the error messages, Most/all of the commands are very quiet so it shouldn't log much.

from opengcs.

lowenna avatar lowenna commented on May 16, 2024

I think failures do log the output. Maybe they didn't in earlier incantations of the code. True, most are quiet, but it should be obvious from the logs if a command does fail. I'm concerned about universally adding it though (success cases). Esp for tar2vhd/vhd2tar.

from opengcs.

rn avatar rn commented on May 16, 2024

OK. I don't recall if I saw something in the daemon logs or not. Let me close this for now as the commands themselves are logged and if I hit an issue again I may re-open with additional info.

from opengcs.

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.