log_messages.mes 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. # Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC")
  2. #
  3. # Permission to use, copy, modify, and/or distribute this software for any
  4. # purpose with or without fee is hereby granted, provided that the above
  5. # copyright notice and this permission notice appear in all copies.
  6. #
  7. # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  8. # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  9. # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  10. # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  11. # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  12. # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  13. # PERFORMANCE OF THIS SOFTWARE.
  14. # \brief Message Utility Message File
  15. #
  16. # This is the source of the set of messages generated by the message and
  17. # logging components. The associated .h and .cc files are created by hand from
  18. # this file though and are not built during the build process; this is to avoid
  19. # the chicken-and-egg situation where we need the files to build the message
  20. # compiler, yet we need the compiler to build the files.
  21. $NAMESPACE isc::log
  22. % LOG_BAD_DESTINATION unrecognized log destination: %1
  23. A logger destination value was given that was not recognized. The
  24. destination should be one of "console", "file", or "syslog".
  25. % LOG_BAD_SEVERITY unrecognized log severity: %1
  26. A logger severity value was given that was not recognized. The severity
  27. should be one of "DEBUG", "INFO", "WARN", "ERROR", "FATAL" or "NONE".
  28. % LOG_BAD_STREAM bad log console output stream: %1
  29. Logging has been configured so that output is written to the terminal
  30. (console) but the stream on which it is to be written is not recognised.
  31. Allowed values are "stdout" and "stderr".
  32. % LOG_DUPLICATE_MESSAGE_ID duplicate message ID (%1) in compiled code
  33. During start-up, BIND 10 detected that the given message identification
  34. had been defined multiple times in the BIND 10 code. This indicates a
  35. programming error; please submit a bug report.
  36. % LOG_DUPLICATE_NAMESPACE line %1: duplicate $NAMESPACE directive found
  37. When reading a message file, more than one $NAMESPACE directive was found.
  38. (This directive is used to set a C++ namespace when generating header
  39. files during software development.) Such a condition is regarded as an
  40. error and the read will be abandoned.
  41. % LOG_INPUT_OPEN_FAIL unable to open message file %1 for input: %2
  42. The program was not able to open the specified input message file for
  43. the reason given.
  44. % LOG_INVALID_MESSAGE_ID line %1: invalid message identification '%2'
  45. An invalid message identification (ID) has been found during the read of
  46. a message file. Message IDs should comprise only alphanumeric characters
  47. and the underscore, and should not start with a digit.
  48. % LOG_NAMESPACE_EXTRA_ARGS line %1: $NAMESPACE directive has too many arguments
  49. The $NAMESPACE directive in a message file takes a single argument, a
  50. namespace in which all the generated symbol names are placed. This error
  51. is generated when the compiler finds a $NAMESPACE directive with more
  52. than one argument.
  53. % LOG_NAMESPACE_INVALID_ARG line %1: $NAMESPACE directive has an invalid argument ('%2')
  54. The $NAMESPACE argument in a message file should be a valid C++ namespace.
  55. This message is output if the simple check on the syntax of the string
  56. carried out by the reader fails.
  57. % LOG_NAMESPACE_NO_ARGS line %1: no arguments were given to the $NAMESPACE directive
  58. The $NAMESPACE directive in a message file takes a single argument,
  59. a C++ namespace in which all the generated symbol names are placed.
  60. This error is generated when the compiler finds a $NAMESPACE directive
  61. with no arguments.
  62. % LOG_NO_MESSAGE_ID line %1: message definition line found without a message ID
  63. Within a message file, message are defined by lines starting with a "%".
  64. The rest of the line should comprise the message ID and text describing
  65. the message. This error indicates the message compiler found a line in
  66. the message file comprising just the "%" and nothing else.
  67. % LOG_NO_MESSAGE_TEXT line %1: line found containing a message ID ('%2') and no text
  68. Within a message file, message are defined by lines starting with a "%".
  69. The rest of the line should comprise the message ID and text describing
  70. the message. This error indicates the message compiler found a line
  71. in the message file comprising just the "%" and message identification,
  72. but no text.
  73. % LOG_NO_SUCH_MESSAGE could not replace message text for '%1': no such message
  74. During start-up a local message file was read. A line with the listed
  75. message identification was found in the file, but the identification is
  76. not one contained in the compiled-in message dictionary. This message
  77. may appear a number of times in the file, once for every such unknown
  78. message identification.
  79. There may be several reasons why this message may appear:
  80. - The message ID has been mis-spelled in the local message file.
  81. - The program outputting the message may not use that particular message
  82. (e.g. it originates in a module not used by the program.)
  83. - The local file was written for an earlier version of the BIND 10 software
  84. and the later version no longer generates that message.
  85. Whatever the reason, there is no impact on the operation of BIND 10.
  86. % LOG_OPEN_OUTPUT_FAIL unable to open %1 for output: %2
  87. Originating within the logging code, the program was not able to open
  88. the specified output file for the reason given.
  89. % LOG_PREFIX_EXTRA_ARGS line %1: $PREFIX directive has too many arguments
  90. Within a message file, the $PREFIX directive takes a single argument,
  91. a prefix to be added to the symbol names when a C++ file is created.
  92. This error is generated when the compiler finds a $PREFIX directive with
  93. more than one argument.
  94. Note: the $PREFIX directive is deprecated and will be removed in a future
  95. version of BIND 10.
  96. % LOG_PREFIX_INVALID_ARG line %1: $PREFIX directive has an invalid argument ('%2')
  97. Within a message file, the $PREFIX directive takes a single argument,
  98. a prefix to be added to the symbol names when a C++ file is created.
  99. As such, it must adhere to restrictions on C++ symbol names (e.g. may
  100. only contain alphanumeric characters or underscores, and may nor start
  101. with a digit). A $PREFIX directive was found with an argument (given
  102. in the message) that violates those restrictions.
  103. Note: the $PREFIX directive is deprecated and will be removed in a future
  104. version of BIND 10.
  105. % LOG_READING_LOCAL_FILE reading local message file %1
  106. This is an informational message output by BIND 10 when it starts to read
  107. a local message file. (A local message file may replace the text of
  108. one of more messages; the ID of the message will not be changed though.)
  109. % LOG_READ_ERROR error reading from message file %1: %2
  110. The specified error was encountered reading from the named message file.
  111. % LOG_UNRECOGNISED_DIRECTIVE line %1: unrecognised directive '%2'
  112. Within a message file, a line starting with a dollar symbol was found
  113. (indicating the presence of a directive) but the first word on the line
  114. (shown in the message) was not recognised.
  115. % LOG_WRITE_ERROR error writing to %1: %2
  116. The specified error was encountered by the message compiler when writing
  117. to the named output file.