Parcourir la source

[1190] Minor fixes according to review

One leftover variable and one mismatched name.
Michal 'vorner' Vaner il y a 12 ans
Parent
commit
291591772d
2 fichiers modifiés avec 1 ajouts et 3 suppressions
  1. 0 2
      src/bin/msgq/msgq.py.in
  2. 1 1
      src/bin/msgq/msgq_messages.mes

+ 0 - 2
src/bin/msgq/msgq.py.in

@@ -568,8 +568,6 @@ if __name__ == "__main__":
     sev = 'INFO'
     if options.verbose:
         sev = 'DEBUG'
-    LOG_FILE = os.path.join("@localstatedir@", "@PACKAGE_NAME@",
-                            "msgq.log").replace("${prefix}", "@prefix@")
     isc.log.init("b10-msgq", buffer=False, severity=sev, debuglevel=99)
 
     signal.signal(signal.SIGTERM, signal_handler)

+ 1 - 1
src/bin/msgq/msgq_messages.mes

@@ -60,7 +60,7 @@ the corresponding socket is dropped.
 % MSGQ_RECV_HDR Received header: %1
 Debug message. This message includes the whole routing header of a packet.
 
-% MSGQ_RECV_INVALID_CMD Received invalid command: %1
+% MSGQ_INVALID_CMD Received invalid command: %1
 An unknown command listed in the log has been received. It is ignored. This
 indicates either a programmer error (eg. a typo in the command name) or
 incompatible version of a module and message queue daemon.