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

[PE-2909] Update logs slot #40

Merged
merged 2 commits into from
Jan 16, 2024
Merged

[PE-2909] Update logs slot #40

merged 2 commits into from
Jan 16, 2024

Conversation

dmitry-ratushnyy
Copy link
Contributor

About

To allow CoS fetch Charmed MongoDB logs we need to add a directory to "logs" slot

added /var/log/mongodb to slot settings
@dmitry-ratushnyy dmitry-ratushnyy changed the base branch from 5/edge to 6/edge January 16, 2024 15:13
Copy link
Contributor

@MiaAltieri MiaAltieri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this directory needed for?

logs from mongod daemon should go to $SNAP_COMMON/var/log/mongod
logs from mongos daemon should go to $SNAP_COMMON/var/log/mongos
logs from pbm daemon should go to $SNAP_COMMON/var/log/pbm

there is no mongodb daemon, so I am not sure what would go here.

replace 'mongod' with 'mongodb'
@dmitry-ratushnyy dmitry-ratushnyy merged commit 6f1dc9d into 6/edge Jan 16, 2024
3 checks passed
@dmitry-ratushnyy dmitry-ratushnyy deleted the update_logs_slot branch January 16, 2024 17:35
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

Successfully merging this pull request may close these issues.

4 participants