Hi all,
A bit earlier in the list i found a command for manual log rotating.
I tried 
logrotate -f /etc/logrotate.d/sipxchange
And all logs were rotated except sipxcallresolver.log. 
And i noticed that it was never rotated... and is 200M long now.
 
I believe it is due to the following lines in /etc/logrotate.d/sipxchange
file:
 
# Now we list the files, excluding sipxconfig.log.  If you have
# a log file that starts with 's' but not with 'sip', and you
# want it rotated w/o copytruncate, list full path name here
/var/log/sipxpbx/sip?[!c]*.log /var/log/sipxpbx/[!sf]*.log {
}
 
 
I changed it to 
# Now we list the files, excluding sipxconfig.log.  If you have
# a log file that starts with 's' but not with 'sip', and you
# want it rotated w/o copytruncate, list full path name here
/var/log/sipxpbx/sip?[!c]*.log /var/log/sipxpbx/[!sf]*.log
/var/log/sipxpbx/sipxcallresolver.log {
}

and sipxcallresolver.log was rotated after logrotate. 
but i noticed that messages like 
"2010-04-22T14:54:02.895028 ":DEBUG:Waking up.
"2010-04-22T14:54:02.895172 ":DEBUG:Read CSEs from ID:27405 Time:
"2010-04-22T14:54:02.896245 ":DEBUG:Going to sleep.
"2010-04-22T14:54:12.898498 ":DEBUG:Waking up.
"2010-04-22T14:54:12.898635 ":DEBUG:Read CSEs from ID:27405 Time:
"2010-04-22T14:54:12.899724 ":DEBUG:Going to sleep.
are still being written into sipxcallresolver.log.1, while
sipxcallresolver.log is not created....
 
Looks like i did something wrong...
 
I see this in 4.0.4.
Is it fixed in 4.2?
What can be done to fix the probem?
 
Thanks and regards,
Nikolay.


 

_______________________________________________
sipx-users mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to