• 0

Expected Collector Log Size


Nick Milburn
 Share

Question

Hey all,

Just curious what is considered within the realm of healthy/normal for the "C:\Program Files (x86)\LogicMonitor\Agent\logs" folder on a collector machine? Have seen this folder fluctuate from ~500MB to over 1.5GB in size for some collectors. Not entirely sure what causes the fluctuations or at what point something should be considered wrong? Anyone have any notes/recommendations/best practices around this?

Thanks, all!

Nick

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
  • LogicMonitor Staff

This is controlled by settings in wrapper.conf.

e.g.

wrapper.logfile.maxsize=64m

# Maximum number of rolled log files which will be allowed before old

# files are deleted. The default value of 0 implies no limit.

wrapper.logfile.maxfiles=3

So by default there is one active file, and 3 "history" files. When the active file reaches 64M, files are rotated.

Sometimes the max size and number of log files can be changed when people are debugging specific issues, but you can always set them back.

Link to comment
Share on other sites

  • 0
  • LogicMonitor Staff

There's no risk in reducing the number of files, or deleting past ones.

They're only there for debugging.

But - if you do have an issue, and it's a one time issue with the collector, it reduces the window you (or support) has to catch it in the log files, and you may have to wait for it to recur before they can identify it.

But that's certainly not a common case....

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share