Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-24936

Set Ident when logging to syslog

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Logging
    • Environment:
      *nix
    • Server Security
    • Dev Tools 2020-01-13

      Add the possibility to set Ident when logging to syslog. Reference http://www.gnu.org/software/libc/manual/html_node/openlog.html#openlog

      It is possible to use --syslog --syslogFacility local3 when running mongod. It would be very nice to be able to use --syslogIdent myCustomNameOfMongodb

      Or if using yaml config:

      systemLog:
         destination: syslog
         syslogFacility: local3
         syslogIdent: myCustomNameOfMongodb
      

            Assignee:
            backlog-server-security [DO NOT USE] Backlog - Security Team
            Reporter:
            pereng@gmail.com Per Engström
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: