Ask Your Question
0

No logs saved in /opt/stack/logs folder with devstack installation

asked 2014-09-09 00:19:05 -0500

fhussain gravatar image

Hi,

I have installed OpenStack via Devstack. I have edited my localrc file to enable logging. My localrc file has these settings for saving log files.

# Enable Logging
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=True
SCREEN_LOGDIR=/opt/stack/logs

However, no logs are saved in the /opt/stack/logs folder. What could be the problem?

Thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-09-09 06:17:19 -0500

SGPJ gravatar image

You should be seeing logs under: /var/log/* dir under respective service.

edit flag offensive delete link more

Comments

With devstack installation logs are not saved by default in /var/log/* dir. I have already checked that directory. There are no log files for any of the OpenStack services in it.

fhussain gravatar imagefhussain ( 2014-09-09 07:15:05 -0500 )edit

I created same setup using devstack (got clone from git clone https://github.com/osrg/devstack.git -b ofagent/icehouse or git clone https://github.com/openstack-dev/devs... -b stable/icehouse) and I see no issues and logs get created.

SGPJ gravatar imageSGPJ ( 2014-09-09 08:20:13 -0500 )edit

try to re-stack from git clone https://github.com/openstack-dev/devs... -b stable/icehouse

SGPJ gravatar imageSGPJ ( 2014-09-09 08:20:40 -0500 )edit
SGPJ gravatar imageSGPJ ( 2014-09-09 08:22:48 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-09-09 00:19:05 -0500

Seen: 822 times

Last updated: Sep 09 '14