<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi,
<div><br>
</div>
<div>I am new to openstack and trying to use devstack to launch an openstack compute node on my machine.</div>
<div><br>
</div>
<div>The nova was installed and started successfully. However, I could not get the logging part work:</div>
<div><br>
</div>
<div>What I am <b>expecting</b> to see: as a consumer service should be started by bin/nova-compute program (part of the stack.sh work), the </div>
<div>log should have information such as: "Creating Consumer connection for Service XXX" </div>
<div><br>
</div>
<div><br>
</div>
<div>What I did: </div>
<div>As <b>stack user: </b></div>
<div> </div>
<div>Try to configure the nova.conf file under the directory: </div>
<div>/opt/stack/nova/etc/nova/ with: </div>
<div>debug=true</div>
<div>verbose=true</div>
<div>logfile_mode=0644</div>
<div>logging_default_format_string=%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s</div>
<div>logging_debug_format_suffix=%(funcName)s %(pathname)s:%(lineno)d</div>
<div>instance_format="[instance: %(uuid)s] "</div>
<div>instance_uuid_format="[instance: %(uuid)s] "</div>
<div>log_format=%(asctime)s %(levelname)8s [%(name)s] %(message)s</div>
<div>log_file="/home/stack/devstack/log/stack.log"</div>
<div>use_syslog=false</div>
<div><br>
</div>
<div><br>
</div>
<div>If my understanding was the /etc/nova/nova.conf file is updated according to the above setting? </div>
<div>But I can not find the following:</div>
<div>log_file="/home/stack/devstack/log/stack.log"</div>
<div><br>
</div>
<div>I could not find any log file under any of the directories:</div>
<div><br>
</div>
<div>/home/stack/devstack/log/stack.log</div>
<div>/opt/stack/</div>
<div><br>
</div>
<div>Can not find any files similar to /var/log/nova.log </div>
<div><br>
</div>
<div>Can not find any log information about nova starting the consumer service. </div>
<div><br>
</div>
<div><br>
</div>
<div>I must get something wrong, please point it out for me. </div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks in advance,</div>
<div><br>
</div>
<div><br>
</div>
<div>Donglai</div>
<div><br>
</div>
</body>
</html>