Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logs not available #131

Open
guimou opened this issue Jan 26, 2021 · 1 comment
Open

Logs not available #131

guimou opened this issue Jan 26, 2021 · 1 comment

Comments

@guimou
Copy link

guimou commented Jan 26, 2021

Hi!

New cluster, working fine (connection, uploads, downloads,...):

./cn cluster start my-first-cluster
2021/01/26 10:44:41 Starting cluster my-first-cluster...

Endpoint: http://10.10.120.54:8000
Dashboard: http://10.10.120.54:5000
Access key: xxxxxxxxxxxxxxxxx
Secret key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Working directory: /home/gmoutier/Dev/tmp/cephnano/tmp

I'm trying to debug a connection issue when sending bucket notifications, but logs are unavailable:

./cn cluster logs my-first-cluster
ecat: /var/log/ceph/client.rgw.ceph-nano-my-first-cluster-faa32aebf00b.log: No such file or directory

I logged directly into the container, /var/log/ceph remains empty whatever I do.
I tried to enable debug logging with:

ceph --admin-daemon /var/run/ceph/ceph-client.rgw.<name>.asok config set debug_rgw 20
ceph --admin-daemon /var/run/ceph/ceph-client.rgw.<name>.asok config set debug_ms 1

Both commands came back with success, but still no logs...

Am I missing something?

@leseb
Copy link
Member

leseb commented Feb 17, 2021

Try to turn on log_to_file flag, ceph config set log_to_file true <name of the rgw>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants