Author Topic: How to achive logging | Genesys Composer  (Read 6829 times)

Offline sky_scrapper

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
How to achive logging | Genesys Composer
« on: January 07, 2014, 03:42:06 PM »
Hi i am using genesys composer 8.1.3.I need to achieve logging.For that there is a separate log block.why do we need that explicitly since we have logging in every block.And also where to specify the directory to put the log ie., where to mention the destination path.I see there is no option like that..We have only logging details,log level..so how to do that..plz anyone here help me out..Thanks in adv..!

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: How to achive logging | Genesys Composer
« Reply #1 on: January 07, 2014, 04:43:31 PM »
This logging means application logging by vxml application. So, the output from these logs are printed to the MCP logs, which are processing vxml scripts.

Offline sky_scrapper

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: How to achive logging | Genesys Composer
« Reply #2 on: January 13, 2014, 07:05:05 AM »
Hi Kubig,

Thanks for ur response.I see logs by tomcat in the following path ( C:\Program Files\GCTI\Composer 8.1\tomcat\logs ).How to achieve that in voice project.And also im  not getting what u meant by MCP logs.Plz guide me.

Offline sky_scrapper

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: How to achive logging | Genesys Composer
« Reply #3 on: January 13, 2014, 07:13:50 AM »
and also i need to know whether logs are printed at compile time ie., before connectng to gvp or after processing to gvp only the logs are printed?

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: How to achive logging | Genesys Composer
« Reply #4 on: January 13, 2014, 09:09:13 AM »
Tomcat or IIS is just a webserver and there are not application logs related to the vxml. All similar logs and messages are printed on executor level, so the executor is the MCP (Media Control Platform). Read the user guide and vxml help, where you can find samples or hint how to achieve it.

Offline sky_scrapper

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: How to achive logging | Genesys Composer
« Reply #5 on: January 15, 2014, 09:59:59 AM »
@Kubig : I searched..but i could not get..If u provide any link it will be helpful for me

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: How to achive logging | Genesys Composer
« Reply #6 on: January 15, 2014, 11:46:53 AM »
I do not understand what you tried to find. Do you know what is Genesys, GVP or MCP? Did you write some vxml application before? Do you know what is vxml?

Offline sky_scrapper

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: How to achive logging | Genesys Composer
« Reply #7 on: January 15, 2014, 11:56:25 AM »
@Kubig:I m completely new to this environment..Yes i know what is genesys...vxml too..which is an xml based file generated from callflow in composer..I m asking where we are specifying the directory for logs.Suppose consider subdialog block.In that "Logging" properties we are adding what details to print..I am asking where the log will be written..some path should be there na...that i m asking?You have told to study about mcp..i could not get any details for providing destination directory for logs..so let me know any links for the same

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: How to achive logging | Genesys Composer
« Reply #8 on: January 15, 2014, 03:48:36 PM »
Logs from vxml application are printed to the MCP logs, which are written to the destination configured on MCP object in section "log". by default are all logs printed to install. directory of MCP to the directory ./logs. If your configuration is other, you have to check where is the  log's destination. The destination for logging is not provided by Composer or vxml configuration, but by MCP as I wrote.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: How to achive logging | Genesys Composer
« Reply #9 on: January 15, 2014, 04:45:17 PM »
You can also enable logging for the whole app, which will write on the TMP folder inside MCP installation folder.

<property name="com.genesyslab.savetmpfiles" value="false" />

The log object will print, as Kubig says, inside the MCP logs itself.