Ask Your Question
0

OpenStack Swift object.log is empty

asked 2014-06-16 12:51:46 -0500

stacker2013 gravatar image

One of our OpenStack swift storage node has stopped logging information into object.log. Nothing of the configuration has been changed. It used to log information into object.log well. All of a sudden, it stopped. Can someone help?

The storage node is still doing the log for account, and container, but just not object, which is evident from the information below:

-rw-------. 1 swift swift 1748314 Jun 16 11:42 account.log

-rw-------. 1 swift swift 587521 Jun 1 04:09 account.log-20140525.gz

-rw-------. 1 swift swift 593071 Jun 8 04:13 account.log-20140601.gz
-rw-------. 1 swift swift 598714 Jun 15 04:01 account.log-20140608.gz
-rw-------. 1 swift swift 9415236 Jun 15 04:01 account.log-20140615
-rw-------. 1 swift swift 69817 Jun 16 11:45 container.log
-rw-------. 1 swift swift 313304 Jun 1 04:09 container.log-20140525.gz
-rw-------. 1 swift swift 19423 Jun 8 04:13 container.log-20140601.gz
-rw-------. 1 swift swift 21956 Jun 15 04:01 container.log-20140608.gz
-rw-------. 1 swift swift 368994 Jun 15 04:01 container.log-20140615
drwx------. 2 swift swift 81920 Jun 16 11:00 hourly
-rw-------. 1 root root 0 Jun 16 11:11 object-auditor.log
-rw-------. 1 root root 0 Jun 16 11:11 object.log
-rw-------. 1 swift swift 48846 May 10 04:22 object.log-20140509.gz
-rw-------. 1 swift swift 76181 May 11 04:12 object.log-20140510.gz
-rw-------. 1 swift swift 200858 May 12 04:19 object.log-20140511.gz
-rw-------. 1 swift swift 205817 May 13 03:52 object.log-20140512.gz
-rw-------. 1 swift swift 94314 May 14 04:12 object.log-20140513.gz
-rw-------. 1 swift swift 160257 May 15 03:34 object.log-20140514.gz
-rw-------. 1 swift swift 101975 May 16 03:22 object.log-20140515.gz
-rw-------. 1 swift swift 48752 May 17 03:53 object.log-20140516.gz
-rw-------. 1 swift swift 46034 May 18 04:41 object.log-20140517.gz
-rw-------. 1 swift swift 42940 May 19 04:02 object.log-20140518.gz
-rw-------. 1 swift swift 40378 May 20 03:51 object.log-20140519.gz
-rw-------. 1 swift swift 40174 May 21 03:22 object.log-20140520.gz
-rw-------. 1 swift swift 41956 May 22 03:59 object.log-20140521.gz
-rw-------. 1 swift swift 247770 May 22 03:59 object.log-20140522
-rw-------. 1 root root 0 Jun 16 11:11 object-replicator.log
-rw-------. 1 root root 0 Jun 16 11:11 object-server.log
-rw-------. 1 root root 0 Jun 16 11:11 object-updater.log

edit retag flag offensive close merge delete

Comments

I suspect that something did change after all. The change could have happened without your knowledge by a management suite or a coworker. Most likely, the facility in the configuration. Look into /etc/swift/object-server.conf and verify that log_facility or log_address match your rsyslog.conf(.d).

zaitcev gravatar imagezaitcev ( 2014-12-09 16:03:50 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-12-04 23:53:23 -0500

kashifkarar gravatar image

Hi

Hope this info will help you:

https://github.com/stackforge/cookboo...

edit flag offensive delete link more

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-06-16 12:51:46 -0500

Seen: 97 times

Last updated: Dec 04 '14