issue with logrot.pl in LMS 3.1 - config removed

Answered Question
Oct 21st, 2008

I just observed the following issue with logrot.p in LMS 3.1:

the GUI to configure logrot was not yet used - thus the table on CS > Server > Admin > Log Rotation is empty.

configuring logrot form CLI with

logrot.pl -c

will save the configuration in NMSROOT/objects/logrot/logrot.conf

it is possible *not* to define a compress format - at least there will be no error reported.

calling logrot again from CLI gives the option to change the settings. So far no problem.

But navigating now to the following LMS page

CS > Serve > Admin > Log Rotation

removes all settings in logrot.conf.

It is only necessary to navigate to this page, it is not necessary to change anything - just calling this page removes all settings form logrot.conf.

I currently have not the time to troubleshoot this in detail. But I was able to recreate it if I leave out the compress format when configuring logrot from CLI.

anybody else observed an issue similar to this?

I have this problem too.
0 votes
Correct Answer by Joe Clarke about 8 years 1 month ago

I have filed CSCsv21731 to track this. I have created a patch which is available by contacting the TAC.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Joe Clarke Tue, 10/21/2008 - 09:32

I can reproduce. Compression is an optional field, and it seems when they wrote the GUI on top of my tool, they didn't take that into account. I'll see if I can fix it.

Correct Answer
Joe Clarke Tue, 10/21/2008 - 10:48

I have filed CSCsv21731 to track this. I have created a patch which is available by contacting the TAC.

Martin Ermel Tue, 10/21/2008 - 13:36

Thanks for this quick help!

Tomorrow I will open a Service Request to get the patch.

Actions

This Discussion