56
54
#endif /* LOG_ERR */
58
#define lspec_parse_err_1 "%s: cannot parse <%s>\n"
59
#define lspec_parse_err_2 "%s: warning - logging entry syntax error\n"
60
#define log_file_err "%s: error writing to %s\n"
61
#define log_device_err "%s: error writing to %s device\n"
56
#define lspec_parse_err_1 _("%s: cannot parse <%s>\n")
57
#define lspec_parse_err_2 _("%s: warning - logging entry syntax error\n")
58
#define log_file_err _("%s: error writing to %s\n")
59
#define log_device_err _("%s: error writing to %s device\n")
62
60
#define log_ufo_string "?\?\?" /* nb: avoid trigraphs */
63
#define log_emerg_string "EMERGENCY"
64
#define log_alert_string "ALERT"
65
#define log_crit_string "CRITICAL"
66
#define log_err_string "Error"
67
#define log_warning_string "Warning"
68
#define log_notice_string "Notice"
69
#define log_info_string "info"
70
#define log_debug_string "debug"
61
#define log_emerg_string _("EMERGENCY")
62
#define log_alert_string _("ALERT")
63
#define log_crit_string _("CRITICAL")
64
#define log_err_string _("Error")
65
#define log_warning_string _("Warning")
66
#define log_notice_string _("Notice")
67
#define log_info_string _("info")
68
#define log_debug_string _("debug")
966
964
set_cloexec_file(f);
967
965
log_control.log_entries[lindex].lfu_filep = f;
969
fprintf(stderr, "Couldn't open log file %s: %s\n",
967
fprintf(stderr, _("Couldn't open log file %s: %s\n"),
970
968
log_control.log_entries[lindex].lfu_fname,
971
969
error_message(errno));