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

[DPE-1935][DPE-1754] Postgresql logs #223

Merged
merged 10 commits into from
Sep 18, 2023
Merged

[DPE-1935][DPE-1754] Postgresql logs #223

merged 10 commits into from
Sep 18, 2023

Conversation

dragomirp
Copy link
Contributor

@dragomirp dragomirp commented Sep 5, 2023

Issue

Postgresql's logs are not split into a separate location

Solution

Split the Postgresql logs and add the log rotation configuration from the spec.

@codecov
Copy link

codecov bot commented Sep 6, 2023

Codecov Report

Merging #223 (2efe60c) into main (fa2e18b) will increase coverage by 0.01%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #223      +/-   ##
==========================================
+ Coverage   80.64%   80.65%   +0.01%     
==========================================
  Files           9        9              
  Lines        1855     1856       +1     
  Branches      303      303              
==========================================
+ Hits         1496     1497       +1     
  Misses        309      309              
  Partials       50       50              
Files Changed Coverage Δ
src/cluster.py 75.28% <ø> (ø)
src/constants.py 100.00% <100.00%> (ø)

dragomirp and others added 3 commits September 14, 2023 14:13
* Make sure snap daemon's home exist

* Move snap_daemon home creation to on_install

* Assert dir creation
@dragomirp dragomirp changed the title [DPE-1935] Postgresql logs [DPE-1935][DPE-1754] Postgresql logs Sep 15, 2023
@@ -3033,7 +3033,7 @@
"style": "dark",
"tags": [
"postgres",
"db",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Typo

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Mostly copied from the spec.

@dragomirp dragomirp marked this pull request as ready for review September 16, 2023 10:37
Copy link
Contributor

@taurus-forever taurus-forever left a comment

Choose a reason for hiding this comment

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

Tnx!

@dragomirp dragomirp merged commit 1f9c202 into main Sep 18, 2023
29 checks passed
@dragomirp dragomirp deleted the dpe-1935-pg-logs branch September 18, 2023 11:45
BON4 pushed a commit to BON4/postgresql-operator that referenced this pull request Apr 23, 2024
* Postgresql logs

* Set published revision.

* [DPE-2495] Ensure that snap_daemon home exists (canonical#220)

* Make sure snap daemon's home exist

* Move snap_daemon home creation to on_install

* Assert dir creation

* Log rotation config

* Update snap

* Typo in dashboard

* Fix tls tests

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

Successfully merging this pull request may close these issues.

3 participants