cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2126
Views
25
Helpful
11
Replies

stdout file in CVP 11.5

Sowmiya J
Level 1
Level 1

Hi Team,

In CVP 8.5 version we had stdout files for logs.Now we are upgrading to 11.6.I couldnt find stdout file in CVP 11.6.Is that removed

 

Thanks,

Sowmiya 

11 Replies 11

smeegada1
Spotlight
Spotlight

we have to configure it manually.Please follow below steps and let me know if you have problem.

- Go to Cisco\CVP\VXMLServer\Tomcat\bin

- tomcat8w //ES//VXMLServer 

- This will open JVM settings

- add log location and restart server

Hi,

If i try to open tomcat8w i am getting "The specified service does not
exist as an installed service.Unable to open the service"

Thanks,
Sowmiya J

We upgraded to 11.6 so its on Tomcat8.Can you go to Cisco\cvp\vxmlserver\tomcat and open RELEASE-NOTES file and see the version, mine is Apache Tomcat Version 8.0.33 so its tomcat8w.Check yours and replace accordingly.If you still have problem please send screenshot.

Copy/rename tomcat8w.exe to the service name .exe, so call it VXMLServer.exe and then try it.

Hi,

I opened configuration page by tomcat8w //ES// command. In that redirect
stdout option I gave a file location. Then restarted vxml service. But the
log file is empty.

I have used stdout statements in my cvp application.Where those statements
will get printed.

Thanks,
Sowmiya

Try rebooting entire windows server and then it should work.If not please review the attached screenshot.If you still have problem upload screenshot of your config.

 

 

Add swallowOutput="true" attribute to your context.xml on the CVP web app.

 

<?xml version="1.0" encoding="UTF-8"?>
<Context swallowOutput="true">

     ....

</Context>

 

Hi Team,

 

Thanks for the halp smeegada and ptindall.

I have got my logs in tomcat/bin folder after rebooting the machine.

 

Where i can define the stdout file size?

 

Thanks

YW.Try updating log4j.appender.R.MaxFileSize=10MB in log4j.properties file in 

Cisco\CVP\VXMLServer\Tomcat\webapps\CVP\WEB-INF\classes

For stdout size, try adding this to Java options using the tomcat8w.exe config tool.

 

-Djava.util.logging.FileHandler.limit=4000000

 

Hi Team,

 

How to get a stdout file with Date and time

Thanks