Comments (4)
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.
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.
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.
Yes, with current master I see issue is resolved, so closing this issue.
from rig.
Related Issues (20)
- [gcore] Action should allow for freezing process before collecting a core dump
- [process] State value should accept single-character shorthand for state
- [rig] trigger sub-command does not appear in --help output HOT 1
- [rig] --foreground doesn't work HOT 2
- [rig] cannot resolve the package dependency to python3-psutil HOT 1
- [rig] empty temporary directory was not deleted after rig destroy HOT 1
- rig command return return "ModuleNotFoundError: No module named 'systemd'" HOT 2
- "rig list --id tuvfo" doesnot show individual rig id HOT 2
- rig trigger command 'yum update' fails to generate sosreport. HOT 3
- rig is not triggering the tcpdump action HOT 2
- [rfe] Rig 'Running' jobs should be restored after system reboot. HOT 4
- [RFE]: tcpdump action of rig should have option to set snap length (-s) HOT 1
- #RFE - Can we execute certain set of commands when an event occurs rather than generating the sosreport HOT 1
- rig is triggered when free memory is above threshold HOT 2
- [process] Rig will terminate if one pid ends when watching all pids HOT 2
- rig name conflict with existing command HOT 3
- rig GA version ? HOT 5
- Running actions for a given amount of time HOT 1
- Rig v2 - new design, renewed focus on applicability of project HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rig.