LMS 3.1 - license.log file - rotates but not defined in logrot

Unanswered Question
Dec 10th, 2008
User Badges:

I discovered the the license.log file, in /var/adm/CSCOpx/log, rotates to a new version on its own. This creates an issue with a script I have that allows remote users to check if a device is present in RME. The script, using the CLI, apparently causes the license file to be updated. To make this work, I needed to modify the permissions on the file to -rw-rw----, but when LMS rotates the file, it restores it to the default -rw-r-----. Is there a way to modify or control this behavior? I have not defined this file in logrot.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joe Clarke Wed, 12/10/2008 - 15:49
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

This file is handled by the log4j subsystem. You can modify the rotation parameters for license.log in NMSROOT/objects/licenses/log4-license.properties.

pblanc Thu, 12/11/2008 - 05:52
User Badges:

Thank you very much. I can see how to control the number of backups and the size of the file. Is there a way to turn this logging off altogether? I don't see what purpose it serves other than adding overhead to any processing.


This Discussion