maxLogFileSize has no effect on CtrlManager log size

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
4 posts • Page 1 of 1
amichon
Posts:93
Joined: Sat May 17, 2014 3:49 pm

maxLogFileSize has no effect on CtrlManager log size

Post by amichon »

maxLogFileSize config entry seems to have no effect on CtrlManager log size.

WinCC OA version is 3.15 P017

[general]
maxLogFileSize = 50

Although the configuration indicates a limit of 50 Mb for the log file, a controller has 26Gb log file and another controller rotates its file at 60Mb.
I noticed that on restarting the project the large 26 Gb file did not rotate.

PVSS_II.log and some controller files respect the file size limit with rotating the log file at 50Mb.

The project is started as a windows service with SYSTEM user.

Any idea what is blocking with the file rotation ?

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: maxLogFileSize has no effect on CtrlManager log size

Post by leoknipp »

Probably you can solve the problem by stopping the CTRL manager and deleting the huge log file afterwards.
Then you can check if at the next time the log file size is taken into account and the file is switched.

Best Regards
Leopold Knipp
Senior Support Specialist

amichon
Posts:93
Joined: Sat May 17, 2014 3:49 pm

Re: maxLogFileSize has no effect on CtrlManager log size

Post by amichon »

Yes it works by deleting the huge log file. But the next time the log file size is not taken into account.

What is the problem with huge log file ? is there a known issue with huge files and file switching ?

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: maxLogFileSize has no effect on CtrlManager log size

Post by leoknipp »

We do not know an issue that the switch does not work if the file gets too big.
From your last posting I cannot see if checking the file size and changing the file now works correctly.
Did the problem disappear by deleting the huge file?

Best Regards
Leopold Knipp
Senior Support Specialist

4 posts • Page 1 of 1