Details
-
Bug
-
Status: Closed (View Workflow)
-
Trivial
-
Resolution: Fixed
-
1.3.0
-
None
Description
MaxScale logs in syslog using the default identifier MaxScale.
This is not the same as the program name which is maxscale (lower case).
I think that for clarity it would make sense by default to use the same as the binary and thus log using the name 'maxscale' rather than 'MaxScale' which is the current behaviour.
So current logging (during a shutdown shows):
Nov 5 07:37:23 h.example.com MaxScale[2049]: MaxScale is shutting down.
|
Nov 5 07:37:23 h.example.com MaxScale[2049]: MaxScale shutdown completed.
|
...
|
Nov 5 07:37:25 h.example.com MaxScale[37420]: Configuration file: /etc/maxscale.cnf
|
Nov 5 07:37:25 h.example.com MaxScale[37420]: Log directory: /var/log/maxscale/
|
Nov 5 07:37:25 h.example.com MaxScale[37420]: Data directory: /var/lib/maxscale/data
|
Nov 5 07:37:25 h.example.com MaxScale[37420]: Module directory: /usr/lib64/maxscale
|
and
Nov 5 07:37:23 h.example.com maxscale[2049]: MaxScale is shutting down.
|
Nov 5 07:37:23 h.example.com maxscale[2049]: MaxScale shutdown completed.
|
...
|
Nov 5 07:37:25 h.example.com maxscale[37420]: Configuration file: /etc/maxscale.cnf
|
Nov 5 07:37:25 h.example.com maxscale[37420]: Log directory: /var/log/maxscale/
|
Nov 5 07:37:25 h.example.com maxscale[37420]: Data directory: /var/lib/maxscale/data
|
Nov 5 07:37:25 h.example.com maxscale[37420]: Module directory: /usr/lib64/maxscale
|
would look better to me.
Yes I know this option is configurable but I don't think that the default value is completely clean.