Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-450

Syslog default prefix is MaxScale not maxscale

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • 1.3.0
    • 1.3.0
    • Core
    • 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.

      Attachments

        Activity

          People

            markus makela markus makela
            simon.mudd Simon J Mudd
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.