/dports/net/netatalk3/netatalk-3.1.12/libatalk/util/ |
H A D | logger.c | 216 logtype++; in log_setup() 228 if (type_configs[logtype].set) { in log_setup() 231 type_configs[logtype].fd = -1; in log_setup() 280 type_configs[logtype].set = true; in log_setup() 290 if (logtype == logtype_default) { in log_setup() 314 type_configs[logtype].set = true; in syslog_setup() 320 if (logtype == logtype_default) { in syslog_setup() 445 if (type_configs[logtype].set) { in make_log_entry() 447 fd = type_configs[logtype].fd; in make_log_entry() 486 char *logtype, *loglevel; in setuplog() local [all …]
|
/dports/www/trac-devel/Trac-1.5.3/trac/ |
H A D | log.py | 38 def logger_handler_factory(logtype='syslog', logfile=None, level='WARNING', argument 41 logtype = logtype.lower() 42 if logtype == 'file': 44 elif logtype in ('eventlog', 'winlog', 'nteventlog'): 47 logtype='Application') 48 elif logtype in ('syslog', 'unix'): 50 elif logtype == 'stderr': 65 if logtype in ('file', 'stderr'): 67 datefmt = '%X' if logtype == 'stderr' else ''
|
/dports/www/p5-W3C-LogValidator/W3C-LogValidator-1.4/lib/W3C/ |
H A D | LogValidator.pm | 346 my $logtype = shift; 348 if ($logtype eq "plain") 370 my $logtype = shift; 403 my $logtype = shift; 405 if ($logtype eq "plain") 432 my $logtype = shift; 434 if ($logtype eq "plain") 458 my $logtype = shift; 460 if ( ($logtype eq "plain") or ($logtype eq "common")) 484 my $logtype = shift; [all …]
|
/dports/www/py-pywikibot/pywikibot-6.6.3/pywikibot/ |
H A D | logentries.py | 356 def __init__(self, site, logtype=None): argument 368 if logtype is None: 387 def get_valid_entry_class(self, logtype): argument 395 if logtype not in self._site.logtypes: 401 def get_entry_class(cls, logtype): argument 411 if logtype not in cls._logtypes: 412 if logtype in ('newusers', 'thanks'): 417 if logtype is not None 419 cls._logtypes[logtype] = type( 421 return cls._logtypes[logtype] [all …]
|
/dports/mail/spamguard/spamguard/ |
H A D | loadconfig.c | 19 char logtype[VALSIZE]; variable 113 strncpy(logtype, value, VALSIZE); in loadconfig() 180 printf("logtype: %s\n", logtype); in readconfig() 222 if ((strcasecmp(logtype, "qmail") != 0) && (strcasecmp(logtype, "sendmail") != 0) in readconfig() 223 && (strcasecmp(logtype, "postfix") != 0) in readconfig() 224 && (strcasecmp(logtype, "qsheff") != 0)) { in readconfig() 226 "qmail, qsheff, sendmail or postfix\n", logtype); in readconfig() 233 "logfile: %s must be a regular file\n", logtype, logfile); in readconfig() 240 "logfile: %s file does not exist!\n", logtype, logfile); in readconfig() 264 …if (((strcasecmp(logtype, "sendmail") == 0) || (strcasecmp(logtype, "postfix") == 0)) && (strlen(m… in readconfig() [all …]
|
/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/debuggerd/libdebuggerd/ |
H A D | tombstone.cpp | 78 _LOG(log, logtype::HEADER, "ABI: '%s'\n", ABI_STRING); in dump_header_info() 166 _LOG(log, logtype::STACK, "%s\n", line.c_str()); in dump_stack_segment() 261 _LOG(log, logtype::MAPS, in dump_all_maps() 274 _LOG(log, logtype::MAPS, "\n"); in dump_all_maps() 323 _LOG(log, logtype::MAPS, "%s\n", line.c_str()); in dump_all_maps() 346 _LOG(log, logtype::REGISTERS, " %s\n", output.c_str()); in print_register_row() 425 _LOG(log, logtype::THREAD, "Failed to unwind"); in dump_thread() 430 _LOG(log, logtype::BACKTRACE, "\nbacktrace:\n"); in dump_thread() 433 _LOG(log, logtype::STACK, "\nstack:\n"); in dump_thread() 505 _LOG(log, logtype::LOGS, "--------- %slog %s\n", in dump_log_file() [all …]
|
H A D | backtrace.cpp | 50 _LOG(log, logtype::BACKTRACE, "\n\n----- pid %d at %s -----\n", pid, timestr); in dump_process_header() 53 _LOG(log, logtype::BACKTRACE, "Cmd line: %s\n", process_name); in dump_process_header() 55 _LOG(log, logtype::BACKTRACE, "ABI: '%s'\n", ABI_STRING); in dump_process_header() 59 _LOG(log, logtype::BACKTRACE, "\n----- end %d -----\n", pid); in dump_process_footer() 67 _LOG(&log, logtype::BACKTRACE, "\n\"%s\" sysTid=%d\n", thread.thread_name.c_str(), thread.tid); in dump_backtrace_thread() 71 _LOG(&log, logtype::THREAD, "Unwind failed: tid = %d", thread.tid); in dump_backtrace_thread() 76 _LOG(&log, logtype::BACKTRACE, " %s\n", Backtrace::FormatFrameData(&frame).c_str()); in dump_backtrace_thread()
|
/dports/mail/isoqlog/isoqlog-2.2.1/isoqlog/ |
H A D | loadconfig.c | 92 strncpy(logtype, value, VALSIZE); in loadconfig() 152 printf("logtype:%s\n", logtype); in readconfig() 164 …if ((strncasecmp(logtype, "qmail-multilog", VALSIZE) != 0) && (strncasecmp(logtype, "qmail-syslog"… in readconfig() 165 …&& (strncasecmp(logtype, "sendmail", VALSIZE) != 0) && (strncasecmp(logtype, "postfix", VALSIZE) !… in readconfig() 166 && (strcasecmp(logtype, "exim") != 0)) { in readconfig() 168 "qmail-multilog, qmail-syslog, sendmail, postfix or exim\n", logtype); in readconfig() 171 if ((strncasecmp(logtype, "qmail-multilog", VALSIZE)) == 0) { in readconfig() 175 "logstore: %s must be a directory\n", logtype, logstore); in readconfig() 181 "logstore: %s directory does not exist!\n", logtype, logstore); in readconfig() 189 "logstore: %s must be a regular file\n", logtype, logstore); in readconfig() [all …]
|
H A D | main.c | 15 extern char logtype[VALSIZE]; 59 if (strcmp(logtype, "qmail-multilog") == 0) in main() 62 if (strcmp(logtype, "qmail-syslog") == 0) in main() 65 if (strcmp(logtype, "sendmail") == 0) in main() 68 if (strcmp(logtype, "postfix") == 0) in main() 71 if (strcmp(logtype, "exim") == 0) in main()
|
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/debuggerd/libdebuggerd/ |
H A D | tombstone.cpp | 77 _LOG(log, logtype::HEADER, "ABI: '%s'\n", ABI_STRING); in dump_header_info() 86 _LOG(log, logtype::HEADER, "Timestamp: %s\n", buf); in dump_timestamp() 227 _LOG(log, logtype::STACK, "%s\n", line.c_str()); in dump_stack_segment() 264 _LOG(log, logtype::STACK, delimiter); in dump_stack() 339 _LOG(log, logtype::MAPS, in dump_all_maps() 352 _LOG(log, logtype::MAPS, "\n"); in dump_all_maps() 404 _LOG(log, logtype::MAPS, "%s\n", line.c_str()); in dump_all_maps() 501 _LOG(log, logtype::THREAD, "Failed to unwind"); in dump_thread() 503 _LOG(log, logtype::BACKTRACE, "\nbacktrace:\n"); in dump_thread() 506 _LOG(log, logtype::STACK, "\nstack:\n"); in dump_thread() [all …]
|
/dports/irc/muh/muh-2.2a/src/ |
H A D | parser.y | 32 int logtype = 0; variable 169 { logtype = 0; } 176 { logtype |= LOG_JOINS; } 178 { logtype |= LOG_EXITS; } 180 { logtype |= LOG_QUITS; } 182 { logtype |= LOG_MODES; } 184 { logtype |= LOG_MESSAGES; } 186 { logtype |= LOG_NICKS; } 188 { logtype |= LOG_MISC; } 190 { logtype |= LOG_MUHCLIENT; } [all …]
|
/dports/devel/log4j/apache-log4j-1.2.17/contribs/ThomasFenner/ |
H A D | JDBCLogger.java | 85 if(logcol.logtype == LogType.MSG) in append() 89 else if(logcol.logtype == LogType.ID) in append() 93 else if(logcol.logtype == LogType.STATIC) in append() 97 else if(logcol.logtype == LogType.TIMESTAMP) in append() 239 logcol.logtype = _logtype; in setLogType() 245 logcol.logtype = _logtype; in setLogType() 271 logcol.logtype = _logtype; in setLogType() 279 logcol.logtype = _logtype; in setLogType() 290 logcol.logtype = _logtype; in setLogType() 352 if(logcol.logtype != LogType.EMPTY) in ready() [all …]
|
/dports/dns/mydns/mydns-1.1.0/src/mydns/ |
H A D | conf.c | 254 char logtype[80]; in conf_set_logging() local 256 strncpy(logtype, conf_get(&Conf, "log", NULL), sizeof(logtype)-1); in conf_set_logging() 257 strtolower(logtype); in conf_set_logging() 262 if (!strcmp(logtype, "stderr")) { err_file = stderr; closelog(); } in conf_set_logging() 264 else if (!strcmp(logtype, "log_daemon")) error_init(NULL, LOG_DAEMON); in conf_set_logging() 265 else if (!strcmp(logtype, "log_local0")) error_init(NULL, LOG_LOCAL0); in conf_set_logging() 266 else if (!strcmp(logtype, "log_local1")) error_init(NULL, LOG_LOCAL1); in conf_set_logging() 267 else if (!strcmp(logtype, "log_local2")) error_init(NULL, LOG_LOCAL2); in conf_set_logging() 268 else if (!strcmp(logtype, "log_local3")) error_init(NULL, LOG_LOCAL3); in conf_set_logging() 277 if (!(fp = fopen(logtype, "a"))) in conf_set_logging() [all …]
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Source/Core/Lua/ |
H A D | Log.cpp | 50 int logtype = lua_gettop(L); in ExtraInit() local 55 lua_setfield(L,logtype,"always"); in ExtraInit() 58 lua_setfield(L,logtype,"error"); in ExtraInit() 61 lua_setfield(L,logtype,"warning"); in ExtraInit() 64 lua_setfield(L,logtype,"info"); in ExtraInit() 67 lua_setfield(L,logtype,"debug"); in ExtraInit()
|
/dports/devel/hadoop/hadoop-1.2.1/src/contrib/failmon/src/java/org/apache/hadoop/contrib/failmon/ |
H A D | OfflineAnonymizer.java | 40 LogType logtype; field in OfflineAnonymizer 54 public OfflineAnonymizer(LogType logtype, String filename) { in OfflineAnonymizer() argument 63 if (logtype == LogType.HADOOP) in OfflineAnonymizer() 111 LogType logtype = null; in main() local 114 logtype = LogType.HADOOP; in main() 116 logtype = LogType.SYSTEM; in main() 122 OfflineAnonymizer oa = new OfflineAnonymizer(logtype, args[1]); in main()
|
/dports/sysutils/webmin/webmin-1.981/proftpd/ |
H A D | manual_save.cgi | 30 $logtype = 'dir'; 49 $logtype = 'limit'; 63 $logtype = 'dir'; 72 $logtype = 'virt'; $logname = $v->{'words'}->[0]; 83 $logtype = 'limit'; 90 $logtype = 'ftpaccess'; $logname = $in{'file'}; 117 &webmin_log($logtype, "manual", $logname, \%in);
|
/dports/print/lyx/lyx-2.3.4.2/src/frontends/qt4/ |
H A D | GuiLog.cpp | 228 string logtype, logfile; in initialiseParams() local 229 lex >> logtype; in initialiseParams() 238 logTypeCO->setEnabled(logtype == "latex"); in initialiseParams() 243 if (logtype == "latex") { in initialiseParams() 245 logTypeCO->addItem(qt_("LaTeX"), toqstr(logtype)); in initialiseParams() 258 } else if (logtype == "literate") { in initialiseParams() 260 logTypeCO->addItem(qt_("Literate"), toqstr(logtype)); in initialiseParams() 261 } else if (logtype == "lyx2lyx") { in initialiseParams() 263 logTypeCO->addItem(qt_("LyX2LyX"), toqstr(logtype)); in initialiseParams() 264 } else if (logtype == "vc") { in initialiseParams() [all …]
|
/dports/irc/miau/miau-0.6.6/src/ |
H A D | parser.c | 502 int logtype; in parse_list_line() local 641 logtype = 0; in parse_list_line() 649 logtype |= LOG_JOIN; in parse_list_line() 652 logtype |= LOG_PART; in parse_list_line() 655 logtype |= LOG_QUIT; in parse_list_line() 658 logtype |= LOG_MODE; in parse_list_line() 661 logtype |= LOG_NICK; in parse_list_line() 664 logtype |= LOG_MISC; in parse_list_line() 667 logtype |= LOG_MIAU; in parse_list_line() 670 logtype |= LOG_ALL; in parse_list_line() [all …]
|
/dports/devel/py-PyUtilib/PyUtilib-6.0.0/pyutilib/component/config/ |
H A D | logging_config.py | 145 logtype = self.log_type.lower() 158 if self.timestamp and logtype in ('file', 'stderr'): 169 if logtype == 'file': 171 elif logtype in ('winlog', 'eventlog', 'nteventlog'): 173 hdlr = handlers.NTEventLogHandler(logid, logtype='Application') 174 elif logtype in ('syslog', 'unix'): 176 elif logtype in ('stderr'): 183 self._logtype = logtype
|
/dports/security/putty-nogtk/putty-0.76/ |
H A D | logging.c | 22 int logtype; /* cached out of conf */ member 79 if (ctx->logtype > 0) in logflush() 118 ctx->logtype == LGTYP_DEBUG ? "raw" : in logfopen_callback() 161 if (!ctx->logtype) in logfopen() 204 if (ctx->logtype > 0) { in logtraffic() 205 if (ctx->logtype == logmode) in logtraffic() 212 if (ctx->logtype == LGTYP_PACKETS || ctx->logtype == LGTYP_SSHRAW) { in logevent_internal() 286 if (!(ctx->logtype == LGTYP_SSHRAW || in log_packet() 287 (ctx->logtype == LGTYP_PACKETS && texttype))) in log_packet() 403 ctx->logtype = conf_get_int(ctx->conf, CONF_logtype); in log_init() [all …]
|
/dports/security/putty/putty-0.76/ |
H A D | logging.c | 22 int logtype; /* cached out of conf */ member 79 if (ctx->logtype > 0) in logflush() 118 ctx->logtype == LGTYP_DEBUG ? "raw" : in logfopen_callback() 161 if (!ctx->logtype) in logfopen() 204 if (ctx->logtype > 0) { in logtraffic() 205 if (ctx->logtype == logmode) in logtraffic() 212 if (ctx->logtype == LGTYP_PACKETS || ctx->logtype == LGTYP_SSHRAW) { in logevent_internal() 286 if (!(ctx->logtype == LGTYP_SSHRAW || in log_packet() 287 (ctx->logtype == LGTYP_PACKETS && texttype))) in log_packet() 403 ctx->logtype = conf_get_int(ctx->conf, CONF_logtype); in log_init() [all …]
|
/dports/ftp/filezilla/filezilla-3.55.1/src/putty/ |
H A D | logging.c | 22 int logtype; /* cached out of conf */ member 79 if (ctx->logtype > 0) in logflush() 118 ctx->logtype == LGTYP_DEBUG ? "raw" : in logfopen_callback() 161 if (!ctx->logtype) in logfopen() 204 if (ctx->logtype > 0) { in logtraffic() 205 if (ctx->logtype == logmode) in logtraffic() 212 if (ctx->logtype == LGTYP_PACKETS || ctx->logtype == LGTYP_SSHRAW) { in logevent_internal() 286 if (!(ctx->logtype == LGTYP_SSHRAW || in log_packet() 287 (ctx->logtype == LGTYP_PACKETS && texttype))) in log_packet() 403 ctx->logtype = conf_get_int(ctx->conf, CONF_logtype); in log_init() [all …]
|
/dports/devel/git-svn/git-2.34.1/compat/win32/ |
H A D | syslog.c | 18 WORD logtype; 62 logtype = EVENTLOG_ERROR_TYPE; 66 logtype = EVENTLOG_WARNING_TYPE; 73 logtype = EVENTLOG_INFORMATION_TYPE; in pthread_key_create() 77 ReportEventA(ms_eventlog, logtype, 0, 0, NULL, 1, 0,
|
/dports/devel/git-gui/git-2.34.1/compat/win32/ |
H A D | syslog.c | 18 WORD logtype; in syslog() local 62 logtype = EVENTLOG_ERROR_TYPE; in syslog() 66 logtype = EVENTLOG_WARNING_TYPE; in syslog() 73 logtype = EVENTLOG_INFORMATION_TYPE; in syslog() 77 ReportEventA(ms_eventlog, logtype, 0, 0, NULL, 1, 0, in syslog()
|
/dports/devel/git-p4/git-2.34.1/compat/win32/ |
H A D | syslog.c | 18 WORD logtype; in syslog() local 62 logtype = EVENTLOG_ERROR_TYPE; in syslog() 66 logtype = EVENTLOG_WARNING_TYPE; in syslog() 73 logtype = EVENTLOG_INFORMATION_TYPE; in syslog() 77 ReportEventA(ms_eventlog, logtype, 0, 0, NULL, 1, 0, in syslog()
|