openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #24665
Devstack log file configuration
-
To:
openstack lista <openstack@xxxxxxxxxxxxxxxxxxx>
-
From:
Donglai Zhang <donglai.zhang@xxxxxxxxxxxxxxx>
-
Date:
Tue, 25 Jun 2013 06:41:40 +0000
-
Accept-language:
en-AU, en-US
-
In-reply-to:
<CAHYuhGwYxabBA6uCb=_0WH=1TZxKmsmvkTJ6AH+szXfZmOobGg@mail.gmail.com>
-
Thread-index:
AQHOcW8M3tBUgZN2hEGqtQpYfZplxQ==
-
Thread-topic:
Devstack log file configuration
Hi,
I am new to openstack and trying to use devstack to launch an openstack compute node on my machine.
The nova was installed and started successfully. However, I could not get the logging part work:
What I am expecting to see: as a consumer service should be started by bin/nova-compute program (part of the stack.sh work), the
log should have information such as: "Creating Consumer connection for Service XXX"
What I did:
As stack user:
Try to configure the nova.conf file under the directory:
/opt/stack/nova/etc/nova/ with:
debug=true
verbose=true
logfile_mode=0644
logging_default_format_string=%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
logging_debug_format_suffix=%(funcName)s %(pathname)s:%(lineno)d
instance_format="[instance: %(uuid)s] "
instance_uuid_format="[instance: %(uuid)s] "
log_format=%(asctime)s %(levelname)8s [%(name)s] %(message)s
log_file="/home/stack/devstack/log/stack.log"
use_syslog=false
If my understanding was the /etc/nova/nova.conf file is updated according to the above setting?
But I can not find the following:
log_file="/home/stack/devstack/log/stack.log"
I could not find any log file under any of the directories:
/home/stack/devstack/log/stack.log
/opt/stack/
Can not find any files similar to /var/log/nova.log
Can not find any log information about nova starting the consumer service.
I must get something wrong, please point it out for me.
Thanks in advance,
Donglai
Follow ups
References