• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by James M. · Nov 19, 2013 at 06:31 PM · plugins

Plugins and Log Levels?

We are using a modified/enhanced version of the Extended Email plugin and one thing I'm mystified by is the logging model plug-ins use. As a backdrop, we use Splunk to pick up all logs, as well as validating directly through the dynaTrace user interface.

The issue we have is that changing the log level from the Plugins admin screen appears to result in unexpected/wrong results. To be specific, if I change the log level to FINER, all INFO messages stop being logged. If I turn on INFO mode, we see INFO, WARN, and SEVERE messages.  I believe that when FINER is set, FINE messages don't show up either.

We also noticed an issue that, again using this plugin as an example, that when I set the log level to FINER, it does it for the main package, but other packages (like ActionHelper) don't have their content logged when using the FINER log level. The net/net is that plug-in development and validating it in your production environment with different use cases is particularly difficult, and in the end, we use INFO as an audit-trail model (with the data getting indexed in Splunk), and losing those messages when we shift to FINER is a big deal.

Thoughts on what's going on here and how can we remediate?

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

2 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by James M. · Nov 20, 2013 at 03:51 PM

 

I'll open a support ticket – your support org doesn't like to support plug-ins, as that's not the area of expertise, which is a tad frustrating. But glad to track this through the normal process.

We see the compression – which we actually would like to turn off, since it has the risk of losing some audit trail data we push out via log and index via Splunk – but what we don't see are any INFO logs when FINER is turned on; the only appear when we set the log level to INFO. That's via the dynaTrace console as wel as Splunk reading the same logs.

Thanks,

Jim

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Michael K. · Nov 20, 2013 at 09:49 AM

Hi James,

I just tested this locally with the current version of dynaTrace and for me changing log levels works as expected. Please note that:

a) the plugin logging system will compress duplicated consecutive log messages of the same level within 15 minutes to a single entry and 

b) that changing the log level of a plugin in the "installed plugins" tab will be effective for all plugin schedules in all system profiles

could this be the source of the confusion? Otherwise please open a support ticket and attach a support archive, the plugin logs in question (if not contained in the archive) and your custom plugin.

hope this helps,

Michael

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

JMX Enhanced Monitor Plugin Returning Null Values for Custom JMX Service URL

Email Alerting only when error count exceeds particular value in a time interval

meaning of SNMP message

Couchbase Plugin

Can I use the plugin-Log file scraper to monitor the Weblogic on AIX ?

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A