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

Set Ident when logging to syslog

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Logging
    • *nix
    • Server Security
    • Dev Tools 2020-01-13

    Description

      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
      

      Attachments

        Activity

          People

            backlog-server-security Backlog - Security Team
            pereng@gmail.com Per Engström
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: