Giter Club home page Giter Club logo

Comments (4)

TurboTurtle avatar TurboTurtle commented on August 11, 2024

Thanks for the report!

Out of curiosity, do you see debug-level messages in /var/log/rig/rig.log for this rig? I'm wondering if this is more a reporting issue or an issue where debug is not actually being set.

from rig.

prijeshpatel avatar prijeshpatel commented on August 11, 2024

Apologies , I missed to add that info in my first update.

The /var/log/rig/rig.log does contain debug logs, just rig info do not show value to true for key "debug".

2020-11-21 10:24:52,364::cgzsc::DEBUG: Initializing logs rig cgzsc
2020-11-21 10:24:52,404::cgzsc::DEBUG: Listening on /var/run/rig/cgzsc
2020-11-21 10:24:52,406::cgzsc::INFO: Beginning watch of file /var/log/messages
2020-11-21 10:24:52,407::cgzsc::INFO: Beginning watch of journal(s): ['system']
2020-11-21 10:25:02,688::cgzsc::DEBUG: Received request 'info' from socket
2020-11-21 10:25:02,688::cgzsc::DEBUG: Sending '{'id': 'cgzsc', 'pid': '6827', 'rig_type': 'logs', 'status': 'Running', 'restart_max': 0, 'restart_count': 0, 'cmdline': '/usr/bin/rig logs -m Debug option check --debug --noop', 'debug': False, 'watch': 'messages, journals: system', 'trigger': 'Debug option check', 'created': '11/21/20 10:24:52', 'actions': {'noop': {'name': 'noop', 'priority': 10, 'expected_result': 'This action will generate no content'}}}' back to client

from rig.

TurboTurtle avatar TurboTurtle commented on August 11, 2024

Hmm. I've not been able to reproduce this myself from current master:

[jake@terra rig]$ sudo ./rig logs -m 'my test message' --debug --noop
Initializing logs rig oinwz
oinwz
[jake@terra rig]$ sudo ./rig info -i oinwz
{
    "id": "oinwz",
    "pid": "187086",
    "rig_type": "logs",
    "status": "Running",
    "restart_max": 0,
    "restart_count": 0,
    "cmdline": "./rig logs -m my test message --debug --noop",
    "debug": true,
    "watch": "messages, journals: system",
    "trigger": "my test message",
    "created": "11/23/20 10:27:28",
    "actions": {
        "noop": {
            "name": "noop",
            "priority": 10,
            "expected_result": "This action will generate no content"
        }
    }
}

from rig.

prijeshpatel avatar prijeshpatel commented on August 11, 2024

Yes, with current master I see issue is resolved, so closing this issue.

from rig.

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.