Ask Your Question

Stop openstack from writing log to local disk

asked 2016-08-12 14:33:35 -0500

niloofar gravatar image

I have installed openstack mitaka distribution, I have rsyslog server set up and send all my log to rsyslog server, how can I prevent openstack services from writting to my local disk? for example I dont like nova to log in /var/log/nova-compute.log

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-08-12 15:38:58 -0500

updated 2016-08-15 12:06:48 -0500

smaffulli gravatar image

Perhaps this document can help. It explains how to configure OpenStack logging.

To configure remote loggers, follow the link to Python documentation.

edit flag offensive delete link more


Thanks for your reply, This document does not provide any info on how to disable local logging

niloofar gravatar imageniloofar ( 2016-08-14 18:38:51 -0500 )edit

answered 2016-08-17 12:13:03 -0500

niloofar gravatar image

I found the work around to create symbolic link and send logs to /dev/null

ln -s /dev/null /var/log/nova/nova-compute.log

edit flag offensive delete link more


that's a bad idea if you want to ever be able to understand what is happening to your system :)

smaffulli gravatar imagesmaffulli ( 2016-08-17 15:23:06 -0500 )edit

I have already central logging system set up, the local logs would be duplicate!

niloofar gravatar imageniloofar ( 2016-08-18 14:22:09 -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


Asked: 2016-08-12 14:33:35 -0500

Seen: 112 times

Last updated: Aug 17 '16