syslog.log file size

Unanswered Question
Nov 15th, 2007

running lms3.0

Can I change the syslog.log file directory and file size?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joe Clarke Thu, 11/15/2007 - 08:38

What do you mean, change the file size? The file size changes every time a new message is written to it. As for changing the location, you can use the NMSROOT\bin\ script:

NMSROOT\bin\perl NMSROOT\bin\

If you want to truncate the syslog.log file, you can use the utility. This utility is documented in the LMS online help.

davidm101 Thu, 11/15/2007 - 09:27

The LMS 3.0 system folder show >2G for syslog.log (the recommended size is 1G) and >12M (the recommdned size is 1M) for EDS-GCF.log. I am running out the system space so I need to move the syslog.log to a differenent directory. If possible, I will like to rotate to another file when it reaches certain size. I tried the -v without success.

Joe Clarke Thu, 11/15/2007 - 10:27

As I said, will help you to relocate the syslog.log to a different directory. As for log rotation, you will first need to configure logrot using -c. Once you have added the log files to be rotated, then running without any arguments will rotate the log files provided their size matches the configured properties.

davidm101 Thu, 11/15/2007 - 11:34

I was able to change the syslog.log to another driver using I logon the LMS 3.0 after reboot the system. The log space usage and critical message window showed "loading". I also got error by trying to change the syslog.log back to $NMSROOT/log/ using the It appears the NMSROOT variables is not defined in the system anymore.

Joe Clarke Thu, 11/15/2007 - 11:39

NMSROOT is never actually defined on the system. It is defined at runtime by the various components from LMS. What was the exact error you got trying to change the log location back? Please also post the CSPortal.log.


This Discussion