[MXS-3995] Logs are not sent to STDOUT Created: 2022-02-11 Updated: 2022-07-06 Resolved: 2022-07-06 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | StartupScripts |
| Affects Version/s: | 6.2.0 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | William Scott | Assignee: | Esa Korhonen |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | Logging | ||
| Issue Links: |
|
||||||||
| Description |
|
I've encountered two loosely coupled issues and am interested in contributing to their resolution.
Please advise on how I should proceed. |
| Comments |
| Comment by William Scott [ 2022-03-02 ] | |||||
|
I'm wondering if the solution is as simple as changing the container entrypoint,
or within the service definition (for testing)
The new entrypoint bypasses the existing entrypoint maxscale_start.sh script which invokes rsyslog, monit, and maxscale w/o the --log=stdout and --nodaemon flags. My only hesitation is I don't know why the existing entrypoint, which goes through a lot of trouble to implement monit & rsyslog, is used. Logging to stdout, and single process containers, are both best practices. | |||||
| Comment by markus makela [ 2022-07-06 ] | |||||
|
I'll close this as a duplicate of |