NAS log management - Very Huge file

book

Article ID: 198482

calendar_today

Updated On:

Products

NIMSOFT PROBES DX Infrastructure Management

Issue/Introduction

How to create additional nas log file same as we have in our other environment.

We have a nas.log only with 16GB size

Environment

Release : 9.0.2

Component : UIM NAS

Resolution

Usually all probes will create _log and log file ( 2 files)

You have a very huge unique file because someone set debug = 15, this parameter will ignore the logsize and will be all in one file.

To fix this problem just please:

Stop the NAS probe

Delete the Current log file

Edit the nas.cfg this parameters:

Please change from:

debug = 15

To

debug = 0

And

loglevel = 4

To

loglevel = 1

Start the NAS

Currently you have the logsize set to 5000, so after this change, it will create a nas.log until 5MB, after this size, it will rename the nas.log to _nas.log then will create a new file.

So you will have always 2 files.

You can change the logsize to any value between 100 and 150000

By default the Original value is 100.