Come join our live training webinar every other Wednesday at 11am PST and hear LogicMonitor experts explain best practices and answer common questions. We understand these are uncertain times, and we are here to help!
From Settings | Collectors you can control how much information is logged by your collector and how long these log files are retained.
You may want to adjust log levels to increase how much information is logged to debug an issue, or to decrease how much information is logged to save disk space. Select the Logs icon for the desired collector (from Settings | Collectors) and then select manage to see the log levels on a per component basis for that collector:
The log level for each collector component controls what information is logged for that component. Available log levels are:
As an example, you might write a script datasource and your collector is getting no data, but you can’t figure out the problem. You could increase the log level for the collector.script component to debug or trace and then look at the logs (either using the collector debug facility or on the collector machine itself) to troubleshoot the issue.
Collector log files are rotated based on size, not date. By default, there are 3 log files of 64M each. If you’d like to change these numbers, you can do so in the wrapper.conf file (in the conf directory) where the collector is installed. You can edit the wrapper.conf file in the conf directory on the collector machine itself, OR you can edit the file directly from your LogicMonitor account UI. Navigate to Settings | Collectors and select manage for the desired collector. From the dropdown menu select Collector Configuration and then select the Wrapper Config tab. Locate the Wrapper Logging Properties and change these values (make sure to override the Wrapper.config before saving and restarting):
From the Manage dialog you can send your logs to LogicMonitor support. This might be useful if you are collaborating with our support team and would like them to be able to look through your collector log files. Select the manage gear icon for the desired collector and then select ‘Send logs to LogicMonitor’:
Logs that you’ve sent to LogicMonitor support will be displayed in the Logs section for that Collector. Filter based on time range to limit what is displayed:
In This Article