質問

when i use vmc push project to micro cloudfoundry,start application error, smart tips is below. but i can't find log is my project path.

Uploading Application:
  Checking for available resources: OK
  Processing resources: OK
  Packing application: OK
  Uploading (206K): OK   
Push Status: OK
Stopping Application: OK
Staging Application: OK                                                         
Starting Application: ..........................Error 306: Error retrieving file 'logs/startup.log'

where can found the log?

役に立ちましたか?

解決

You ran vmc push to deploy the app. You should be able to run vmc logs myapp to see the logs.

But I have never seen a 306 error like that. I fear that vmc logs myapp might fail for the same underlying reason you got during push.

You should be able to ssh to the Micro Cloud Foundry instance and then track down the logs. They'll be here:

/var/vcap/data/dea/apps/myapp-a-bunch-of-other-letters-and-digits/tomcat

他のヒント

You can also manually look at files (such as logs) by using vmc files <myapp> path/to/file. For example:

vmc files myapp logs/stderr.log

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top