cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1596
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Thanveer Abdulla on 22-08-2011 01:30:58 AM
Hi can any one help on this,,, how to write / log activity log on daily / date wise,,,,by default its writing in one file,,,for better troubleshooting how it can be changed to write log on daily / date wise log.....

Subject: RE: CVP -Activity Log
Replied by: Feroz Syed on 22-08-2011 02:25:54 AM
Hi can any one help on this,,, how to write / log activity log on daily / date wise,,,,by default its writing in one file,,,for better troubleshooting how it can be changed to write log on daily / date wise log.....


Hi Thanveer,
 
See below configurations for writing log on daily or hourly basis.
 
1. To log the activity log on daily basis, update ActivityLogConfig.xml configuration as below:
<rotation>
  <by_day every="1"/>
 </rotation>
 
2. For logging on hourly basis:
<rotation>
  <by_hour every="n"/>
 </rotation>
Where n = 1,2,3...
 
Let me know if you need more information.
 
Regards,
Feroz Syed
 

Subject: RE: CVP -Activity Log
Replied by: Feroz Syed on 22-08-2011 02:29:35 AM
Hi can any one help on this,,, how to write / log activity log on daily / date wise,,,,by default its writing in one file,,,for better troubleshooting how it can be changed to write log on daily / date wise log.....


Hi Thanveer,
 
See below configurations for writing log on daily or hourly basis.
 
1. To log the activity log on daily basis, update ActivityLogConfig.xml configuration as below:
<rotation>
  <by_day every="1"/>
 </rotation>
 
2. For logging on hourly basis:
<rotation>
  <by_hour every="n"/>
 </rotation>
Where n = 1,2,3...
 
Let me know if you need more information.
 
Regards,
Feroz Syed

Subject: RE: New Message from Thanveer Abdulla in Customer Voice Portal (CVP) - Gene
Replied by: Althaf Bealdar on 22-08-2011 02:46:46 AM
<rotation>
<by_size mb_limit="5"/>
</rotation>
<cache>
<per_call kb_limit="50" allocate="once"/>
</cache>
<purge>
<file_age older_than="2"/>
</purge>
</configuration>

Add this at end of activitylog config file...........


Regards,
Mohammed Althaf
________________________________
From: Cisco Developer Community Forums [cdicuser@developer.cisco.com]
Sent: Monday, August 22, 2011 11:00 AM
To: cdicuser@developer.cisco.com
Subject: New Message from Thanveer Abdulla in Customer Voice Portal (CVP) - General Discussion - All Versions: CVP -Activity Log

Thanveer Abdulla has created a new message in the forum "General Discussion - All Versions":

--------------------------------------------------------------
Hi can any one help on this,,, how to write / log activity log on daily / date wise,,,,by default its writing in one file,,,for better troubleshooting how it can be changed to write log on daily / date wise log.....
--
To respond to this post, please click the following link:

<http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/4397586>

or simply reply to this email.

Subject: RE: CVP -Activity Log
Replied by: Thanveer Abdulla on 22-08-2011 03:25:54 AM
Thanks Syed, Althaf...its working ,,,it adds more to logging.....

Subject: RE: CVP -Activity Log
Replied by: Thanveer Abdulla on 23-08-2011 02:34:25 AM
Hi Syed,

One clarity regarding Activity Logging,,,,

Daily wise logging can be limited

<rotation>
  <by_day every="1"/>
<by_size mb_limit="5"/>
</rotation>

will write to 5 MB, and then next....


I tried this but it throwing error,,,,and i assume in rotation property we can define only either by day or hour or size limit...

Any comments / finding ...?

Subject: Re: New Message from Thanveer Abdulla in Customer Voice Portal (CVP) - Gene
Replied by: Janine Graves on 23-08-2011 01:29:46 PM
you can  have logs rotate by ONE of the following:
<by_day every="1"/> or
<by_size mb_limit=""/>  or
<by_hour every=""/> or
<by_call/>


On 8/23/2011 2:34 AM, Cisco Developer Community Forums wrote:
> Thanveer Abdulla has created a new message in the forum "General
> Discussion - All Versions":
>
> --------------------------------------------------------------
> Hi Syed,
>
> One clarity regarding Activity Logging,,,,
>
> Daily wise logging can be limited
>
> <rotation>
> <by_day every="1"/>
> <by_size mb_limit="5"/>
> </rotation>
>
> will write to 5 MB, and then next....
>
>
> I tried this but it throwing error,,,,and i assume in rotation
> property we can define only either by day or hour or size limit...
>
> Any comments / finding ...?
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/4402996>
>
> 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 23-08-2011 03:03:46 PM
by the way, each of those sets of double-quotes must have a value inside.
you can have logs rotate by ONE of the following:
<by_day every="1"/> or
<by_size mb_limit="500"/> or
<by_hour every="12"/> or
<by_call/>


On 8/23/2011 1:29 PM, Cisco Developer Community Forums wrote:
> Janine Graves has created a new message in the forum "General
> Discussion - All Versions":
>
> --------------------------------------------------------------
> you can have logs rotate by ONE of the following:
> <by_day every="1"/> or
> <by_size mb_limit=""/> or
> <by_hour every=""/> or
> <by_call/>
>
>
> On 8/23/2011 2:34 AM, Cisco Developer Community Forums wrote:
> > Thanveer Abdulla has created a new message in the forum "General
> > Discussion - All Versions":
> >
> > --------------------------------------------------------------
> > Hi Syed,
> >
> > One clarity regarding Activity Logging,,,,
> >
> > Daily wise logging can be limited
> >
> > <rotation>
> > <by_day every="1"/>
> > <by_size mb_limit="5"/>
> > </rotation>
> >
> > will write to 5 MB, and then next....
> >
> >
> > I tried this but it throwing error,,,,and i assume in rotation
> > property we can define only either by day or hour or size limit...
> >
> > Any comments / finding ...?
> > --
> > To respond to this post, please click the following link:
> >
> >
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/4402996>
> >
> > 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/4403884>
>
> or simply reply to this email.

--
Janine Graves

Subject: RE: CVP -Activity Log
Replied by: Thanveer Abdulla on 11-10-2011 01:26:24 AM
HI All....

Please help me on this issue,,,its urgent

Purging the CVP Activity Log


<rotation>
<by_day every="1"/>
</rotation>
<cache>
<per_call kb_limit="50" allocate="once"/>
</cache>
<purge>
<file_age older_than="90"/>
</purge>
</configuration>

As mentioned in the earlier posts, i have given  90 as value for purging, i want to purge the log files older than 90 days, but when i tested this, as soon as the call is over the the activity log file is  got deleted, log is creating for every call and once the call is over it got deleted....
But when i change the value to 1 or 2  its working fine log files more 1 or 2 days only got deleted,,, so its there any limitation / restriction on the purge value...

Please provide a solution for this......

Thanks
Thanveer
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