cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1602
Views
0
Helpful
4
Comments
cdnadmin
Level 11
Level 11

Subject: Re: New Message from Mert Guray in Customer Voice Portal (CVP) - General Di
Replied by: Janine Graves on 03-06-2011 10:59:09 AM
When you say that you change 'ActivityLogConfig.xml file' - are you also
changing this within Studio's Project / Properties?

Each time you Deploy from Studio, the
VxmlServer/applications/appname/data/ActivityLogConfig.xml is
overwritten by the one in the Studio Project. That would effectively
disable purging (since the Studio version of this file doesn't contain
the purge tags).

Janine


On 6/3/2011 10:38 AM, Cisco Developer Community Forums wrote:
> Mert Guray has created a new message in the forum "General Discussion
> - All Versions":
>
> --------------------------------------------------------------
> Hello,
> We use Call Studio 7.0 and CVP 7.1.
> We defined our activity.log rolling over parameters as below in the
> ActivityLogConfig.xml file. It works fine for sometime, but later on
> it starts not purging the old ones. Looking at the configuration below
> we expect to have max number of 400 files in the folder. It works that
> way for sometime, but then the number of activity.log files start to
> increase causing the servers disk space getting full with them. The 
> VXMLServer also holds the files and don't let us delete. We can delete
> them only after making a couple of "update.bat". Is there anybody
> familiar about this issue.
> Thanks.
> Â
> <rotation>
> <by_size mb_limit="*10*"/>
> </rotation>
> <cache>
> <per_call kb_limit="20" allocate="once"/>
> </cache>
> <purge>
> <file_count greater_than="*400*"/>
> </purge>
> </configuration>
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/3999030>
>
> or simply reply to this email.

--
Janine Graves

Subject: RE: New Message from Janine Graves in Customer Voice Portal (CVP) - General
Replied by: GEOFFREY THOMPSON on 03-06-2011 11:02:09 AM
My recommendation also. I cannot understand why the default is by size, and the size is 100MB. Ludicrous.

By_day, every=1 is by far the easiest and most useful setting

Regards,
Geoff
This document was generated from CDN thread

Created by: Mert Guray on 03-06-2011 10:38:21 AM
Hello,
We use Call Studio 7.0 and CVP 7.1.
We defined our activity.log rolling over parameters as below in the ActivityLogConfig.xml file. It works fine for sometime, but later on it starts not purging the old ones. Looking at the configuration below we expect to have max number of 400 files in the folder. It works that way for sometime, but then the number of activity.log files start to increase causing the servers disk space getting full with them. The  VXMLServer also holds the files and don't let us delete. We can delete them only after making a couple of "update.bat". Is there anybody familiar about this issue.
Thanks.
 
<rotation>
<by_size mb_limit="10"/>
</rotation>
<cache>
<per_call kb_limit="20" allocate="once"/>
</cache>
<purge>
<file_count greater_than="400"/>
</purge>
</configuration>

Subject: Re: New Message from Mert Guray in Customer Voice Portal (CVP) - General Di
Replied by: Janine Graves on 03-06-2011 10:53:09 AM
I don't know why VxmlServer stops purging. Can anyone from Cisco answer
that?

But, you can change the logs to roll over by day, then at least the only
file locked will be the current day's log. To do this, change your
rotation to this:
<rotation>
<by_day every="1"/>
</rotation>

This will make it easier for you to run your own batch script to purge
old files if necessary.

Janine





On 6/3/2011 10:38 AM, Cisco Developer Community Forums wrote:
> Mert Guray has created a new message in the forum "General Discussion
> - All Versions":
>
> --------------------------------------------------------------
> Hello,
> We use Call Studio 7.0 and CVP 7.1.
> We defined our activity.log rolling over parameters as below in the
> ActivityLogConfig.xml file. It works fine for sometime, but later on
> it starts not purging the old ones. Looking at the configuration below
> we expect to have max number of 400 files in the folder. It works that
> way for sometime, but then the number of activity.log files start to
> increase causing the servers disk space getting full with them. The 
> VXMLServer also holds the files and don't let us delete. We can delete
> them only after making a couple of "update.bat". Is there anybody
> familiar about this issue.
> Thanks.
> Â
> <rotation>
> <by_size mb_limit="*10*"/>
> </rotation>
> <cache>
> <per_call kb_limit="20" allocate="once"/>
> </cache>
> <purge>
> <file_count greater_than="*400*"/>
> </purge>
> </configuration>
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/3999030>
>
> or simply reply to this email.

--
Janine Graves

Subject: Re: New Message from Janine Graves in Customer Voice Portal (CVP) - General
Replied by: Janine Graves on 03-06-2011 10:58:09 AM
When you say that you change 'ActivityLogConfig.xml file' - are you also
changing this within Studio's Project / Properties?

Each time you Deploy from Studio, the
VxmlServer/applications/appname/data/ActivityLogConfig.xml is
overwritten by the one in the Studio Project. That would effectively
disable purging (since the Studio version of this file doesn't contain
the purge tags).

Janine




On 6/3/2011 10:53 AM, Cisco Developer Community Forums wrote:
> Janine Graves has created a new message in the forum "General
> Discussion - All Versions":
>
> --------------------------------------------------------------
> I don't know why VxmlServer stops purging. Can anyone from Cisco answer
> that?
>
> But, you can change the logs to roll over by day, then at least the only
> file locked will be the current day's log. To do this, change your
> rotation to this:
> <rotation>
> <by_day every="1"/>
> </rotation>
>
> This will make it easier for you to run your own batch script to purge
> old files if necessary.
>
> Janine
>
>
>
>
>
> On 6/3/2011 10:38 AM, Cisco Developer Community Forums wrote:
> > Mert Guray has created a new message in the forum "General Discussion
> > - All Versions":
> >
> > --------------------------------------------------------------
> > Hello,
> > We use Call Studio 7.0 and CVP 7.1.
> > We defined our activity.log rolling over parameters as below in the
> > ActivityLogConfig.xml file. It works fine for sometime, but later on
> > it starts not purging the old ones. Looking at the configuration below
> > we expect to have max number of 400 files in the folder. It works that
> > way for sometime, but then the number of activity.log files start to
> > increase causing the servers disk space getting full with them. Theÿ
> > VXMLServer also holds the files and don't let us delete. We can delete
> > them only after making a couple of "update.bat". Is there anybody
> > familiar about this issue.
> > Thanks.
> > ÿ
> > <rotation>
> > <by_size mb_limit="*10*"/>
> > </rotation>
> > <cache>
> > <per_call kb_limit="20" allocate="once"/>
> > </cache>
> > <purge>
> > <file_count greater_than="*400*"/>
> > </purge>
> > </configuration>
> > --
> > To respond to this post, please click the following link:
> >
> >
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/3999030>
> >
> > or simply reply to this email.
>
> --
> Janine Graves
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/3999068>
>
> or simply reply to this email.

--
Janine Graves

Subject: RE: Activity log files are not purged properly
Replied by: Althaf Bealdar on 07-06-2011 12:43:43 AM
Hi,

try with the below Configuration

<rotation>
<by_size mb_limit="10"/>
</rotation>
<cache>
<per_call kb_limit="20" allocate="once"/>
</cache>
<purge>
<file_age older_than="2"/>
</purge>

here instead of using file_count use File_age, this will help you to delete all your activity logs whose age is older than 2 or 1 based on your call Volume.

Regards,
Althaf

Subject: RE: Activity log files are not purged properly
Replied by: Mert Guray on 08-06-2011 04:44:20 AM
Thanks everybody,
To Janine: Yes we are doing it on Call Srudio so that it is not overwritten each time we make a deploy.
<by_day> tag seems to be about the rotation of  activity.log. And rotation is ok. I am now making some tests about the <faile_age> tag on <purge> tag.
Actually we once saw that it didn't work properly 2-3 years ago. But as there are people using it, i'll try that again.
Thank you all.

Subject: RE: Activity log files are not purged properly
Replied by: pandu_cvp (simulated) on 09-06-2011 04:51:55 AM
Thanks Althaf

Subject: RE: Activity log files are not purged properly
Replied by: Mert Guray on 09-06-2011 09:11:27 AM
I was watching the system for a while to catch why it stops purging. nd i found out something. We are making automatic deployment changing the update.bat a bit adding the "noconfirm" "nocountdown" parameters
@echo off
SETLOCAL
for /f "delims=" %%j in ('cd') do set currDir=%%j
%CVP_HOME%\jre\bin\java -classpath "..\..\..\admin\admin.jar;..\..\..\lib\framework.jar" com.audium.client.admin.AppUpdate "%currDir%" "noconfirm" "nocountdown"
ENDLOCAL
 
Where the original update.bat is
@echo off
SETLOCAL
for /f "delims=" %%j in ('cd') do set currDir=%%j
%CVP_HOME%\jre\bin\java -classpath "..\..\..\admin\admin.jar;..\..\..\lib\framework.jar" com.audium.client.admin.AppUpdate "%currDir%" %1 %2
ENDLOCAL
if not {%1} == {noconfirm} pause
 
After the automatic deployment, the purging stopped. I checked the logs under VXMLServer and CVP folder. But couldn't find anything.
Any ideas?
Comments
Mohan Karki
Level 1
Level 1

I was trying to purge the logs by date, turns out there is a bug in the ActivityLogger class when calculating the limit. You can only go back to 24 days.

hemal.mehta
Level 5
Level 5

Which version are you using ?

janinegraves
Spotlight
Spotlight

I believe that bug was fixed in CVP 8.5.4

serotonin01
Level 1
Level 1

We have similar issue. Our activity logs do not get purged automatically either. We have to restart the CVP VXML service or run the .bat file. We have it set to purge files older than 15 days.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links