-
Notifications
You must be signed in to change notification settings - Fork 274
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
Adjust logs for containerized and non-containerized services #7043
Conversation
e164c7a
to
8f4d533
Compare
I ran following pipeline to start testing with new packages: https://gitlab.com/inverse-inc/packetfence/-/pipelines/575065134 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks fine for me.
Questions answered.
6ddc228
to
7ec9bed
Compare
I finished to fix some issues. Running a new pipeline (https://gitlab.com/inverse-inc/packetfence/-/pipelines/576942480) to test new packages. |
9182c8b
to
a2d2b22
Compare
Previously, it was possible to forward or live view Also, it would mean we will need to expose |
cc8e64d
to
7967c8c
Compare
I don't think we need to live view the syslog file anymore as long as we make sure all the PF services log in files in /usr/local/pf/logs. Historically, some services like keepalived and haproxy didn't log there and that's why that file can be viewed in the log viewer. We could also mount this directory in read-only on the api-frontend container |
I added a new rule to redirect Example:
I don't think it's critical to have this ones in |
@julsemaan, I'm talking about:
|
7967c8c
to
1d78382
Compare
- full path to binaries - fingerbank_httpd
but logs directory need to be created by packaging
log action in security event has been removed
owner root, group pf, only writable by root, readable by pf
remove useless chmod/chown in redis-cache postinst
1d78382
to
784a48d
Compare
Unless the |
As discussed internally, I exposed Please review and merge if everything is good for you. |
@nqb, do you think we could have an upgrade note we can add that would state what changed to where. Perhaps not for all the smaller services but like saying mariadb_error.log is in mariadb.log looks important enough to be included |
100% agree, will do that tomorrow morning first thing. |
In fact, I already add an upgrade note in PR description but it can be improved. |
Co-authored-by: Julien Semaan <jul.semaan@gmail.com>
Upgrade note updated and I also push a small fix to avoid keeping old |
@JeGoi and @julsemaan, could you merge if all is fine ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow looks great!
Also add script to remove tenant and option to use proxysql
Description
docker logs
for all containerized-services: everything is in journaldfixpermissions
:root
and grouppf
)pfcmd checkup
ensure rights are correct on log filesinnobackup.log
is handle separatelyIssues
fixes #3835
Impacts
Delete branch after merge
YES
NEWS file entries
Enhancements
UPGRADE file entries