Comments (4)
While it's not difficult modifying service_control to take a debug level, note that the various mechanisms used to start across various systems (be it /etc/inid.d style scripts or systemd control) do not necessarily take a parameter. I could set something globally and detect at startup, but that seems kind of sloppy to me.
As for the -vv option to fluentd, we're using the fluentd framework, and we're checking for debug of our particular plugin. Debugging globally (what -vv does) doesn't appear to set individual plugins to debug, which is why that's happening.
Given what you're after, I think it's easier just to change the configuration to debug our plugin.
Hope this helps,
/Jeff
from oms-agent-for-linux.
To answer the second part of the question, there are two types of log levels in fluentd:
- The global logging level controlled on invocation with the -v or -vv flags affects
$log
. - The per plugging logging level controlled by the
log_level
tag in the configuration script affects@log
.
In this case per plugin logging is used. Change the log_level of the output plugin to debug. The configuration file is located in /etc/opt/microsoft/omsagent/conf/omsagent.conf
Additional documentation can be found here : http://docs.fluentd.org/articles/logging#per-plugin-log
from oms-agent-for-linux.
@ChrisHeitkamp, have we answered your questions? If so, please feel free to close this issue. If not, please post a new comment and we'll help you out.
from oms-agent-for-linux.
@jeffaco @niroyb, thanks, this was the information I needed.
from oms-agent-for-linux.
Related Issues (20)
- selinux omsconfig rule does not take effact. HOT 1
- Cisco ASA Logs not parsing correctly
- Troubleshooter connectivity test
- onboard_agent.sh: Permission denied
- Understanding Cisco ASA CEF Flow HOT 1
- 1.14.23-0 installs broken version of omi
- Rate limiting
- How to enable GPU utilization from this agent?
- dsc_host crashing on Red Hat 7.9 HOT 1
- Rubrik syslog message field truncated HOT 1
- OMS agent is not collecting custom log from target path in a Linux folder HOT 1
- Agent cannot onboard
- Where is the new AzureMonitorAgent repository located? HOT 1
- error ejecucion de backup azure | /var/lib/waagent/Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.13.40/omsagent_shim.sh -install
- How to disable Azure Portal to automatically install OmsAgentForLinux on my VM?
- Rule ID 448b668a-738c-420b-b332-51ea49922933 logic
- Problems with "/etc/passwd- file permissions should be set to 0600"
- "Ensure default deny firewall policy" ignores nftables, resulting in false positives
- "Ensure lockout for failed password attempts is configured." and "Ensure password reuse is limited." don't recognize how authselect does them
- Omi and nxautomation users being created deleted and recreated weekly #766 HOT 1
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 oms-agent-for-linux.