/dports/security/ossec-hids-server/ossec-hids-3.6.0/src/logcollector/ |
H A D | config.c | 18 logreader_config log_config; in LogCollectorConfig() local 22 log_config.config = NULL; in LogCollectorConfig() 23 log_config.agent_cfg = 0; in LogCollectorConfig() 24 log_config.accept_remote = accept_remote; in LogCollectorConfig() 26 if (ReadConfig(modules, cfgfile, &log_config, NULL) < 0) { in LogCollectorConfig() 32 log_config.agent_cfg = 1; in LogCollectorConfig() 33 ReadConfig(modules, AGENTCONFIG, &log_config, NULL); in LogCollectorConfig() 34 log_config.agent_cfg = 0; in LogCollectorConfig() 37 logff = log_config.config; in LogCollectorConfig()
|
/dports/security/ossec-hids-local/ossec-hids-3.6.0/src/logcollector/ |
H A D | config.c | 18 logreader_config log_config; in LogCollectorConfig() local 22 log_config.config = NULL; in LogCollectorConfig() 23 log_config.agent_cfg = 0; in LogCollectorConfig() 24 log_config.accept_remote = accept_remote; in LogCollectorConfig() 26 if (ReadConfig(modules, cfgfile, &log_config, NULL) < 0) { in LogCollectorConfig() 32 log_config.agent_cfg = 1; in LogCollectorConfig() 33 ReadConfig(modules, AGENTCONFIG, &log_config, NULL); in LogCollectorConfig() 34 log_config.agent_cfg = 0; in LogCollectorConfig() 37 logff = log_config.config; in LogCollectorConfig()
|
/dports/security/ossec-hids-agent/ossec-hids-3.6.0/src/logcollector/ |
H A D | config.c | 18 logreader_config log_config; in LogCollectorConfig() local 22 log_config.config = NULL; in LogCollectorConfig() 23 log_config.agent_cfg = 0; in LogCollectorConfig() 24 log_config.accept_remote = accept_remote; in LogCollectorConfig() 26 if (ReadConfig(modules, cfgfile, &log_config, NULL) < 0) { in LogCollectorConfig() 32 log_config.agent_cfg = 1; in LogCollectorConfig() 33 ReadConfig(modules, AGENTCONFIG, &log_config, NULL); in LogCollectorConfig() 34 log_config.agent_cfg = 0; in LogCollectorConfig() 37 logff = log_config.config; in LogCollectorConfig()
|
/dports/net-im/py-matrix-synapse/synapse-1.50.2/synapse/config/ |
H A D | logger.py | 149 self.log_config = self.abspath(config.get("log_config")) 191 log_config = config.get("log_config") 192 if log_config and not os.path.exists(log_config): 196 % (log_config, log_file) 198 with open(log_config, "w") as log_config_file: 291 log_config = yaml.safe_load(f.read()) 293 if not log_config: 298 if "structured" in log_config and log_config.get("structured"): 299 log_config = setup_structured_logging(log_config) 301 logging.config.dictConfig(log_config) [all …]
|
/dports/net/xrdp-devel/xrdp-0.9.16/common/ |
H A D | log.h | 169 struct log_config struct 197 internal_log_start(struct log_config *l_cfg); argument 206 internal_log_end(struct log_config *l_cfg); 231 struct log_config * 238 internal_log_config_dump(struct log_config *config); 305 log_start_from_param(const struct log_config *src_log_config); 321 struct log_config * 332 struct log_config * 341 log_config_free(struct log_config *config);
|
H A D | log.c | 144 internal_log_start(struct log_config *l_cfg) in internal_log_start() 193 internal_log_end(struct log_config *l_cfg) in internal_log_end() 271 struct log_config * 280 struct log_config *lc; in internal_config_read_logging() 464 struct log_config * 467 struct log_config *ret = g_new0(struct log_config, 1); in internalInitAndAllocStruct() 494 internal_log_config_copy(struct log_config *dest, const struct log_config *src) in internal_log_config_copy() 602 struct log_config * 624 struct log_config * 630 struct log_config *config; in log_config_init_from_config() [all …]
|
/dports/x11-drivers/xorgxrdp/xrdp-0.9.17/common/ |
H A D | log.h | 178 struct log_config struct 206 internal_log_start(struct log_config *l_cfg); argument 215 internal_log_end(struct log_config *l_cfg); 240 struct log_config * 247 internal_log_config_dump(struct log_config *config); 314 log_start_from_param(const struct log_config *src_log_config); 330 struct log_config * 341 struct log_config * 350 log_config_free(struct log_config *config);
|
H A D | log.c | 144 internal_log_start(struct log_config *l_cfg) in internal_log_start() 193 internal_log_end(struct log_config *l_cfg) in internal_log_end() 271 struct log_config * 280 struct log_config *lc; in internal_config_read_logging() 464 struct log_config * 467 struct log_config *ret = g_new0(struct log_config, 1); in internalInitAndAllocStruct() 494 internal_log_config_copy(struct log_config *dest, const struct log_config *src) in internal_log_config_copy() 602 struct log_config * 624 struct log_config * 630 struct log_config *config; in log_config_init_from_config() [all …]
|
/dports/net/netatalk3/netatalk-3.1.12/libatalk/util/ |
H A D | logger.c | 73 log_config_t log_config = { 0 }; variable 143 log_config.processname, in generate_message() 182 if ( !log_config.syslog_opened ) { in make_syslog_entry() 183 openlog(log_config.processname, in make_syslog_entry() 185 log_config.syslog_facility); in make_syslog_entry() 186 log_config.syslog_opened = true; in make_syslog_entry() 281 log_config.inited = true; in log_setup() 317 log_config.syslog_facility = facility; in syslog_setup() 331 log_config.inited = 1; in syslog_setup() 395 log_config.processname[15] = 0; in set_processname() [all …]
|
/dports/security/snort/snort-2.9.18/src/file-process/ |
H A D | file_mime_config.c | 161 void set_mime_log_config_defauts(MAIL_LogConfig *log_config) in set_mime_log_config_defauts() argument 163 log_config->memcap = DEFAULT_MIME_MEMCAP; in set_mime_log_config_defauts() 164 log_config->log_filename = 0; in set_mime_log_config_defauts() 165 log_config->log_mailfrom = 0; in set_mime_log_config_defauts() 166 log_config->log_rcptto = 0; in set_mime_log_config_defauts() 167 log_config->log_email_hdrs = 0; in set_mime_log_config_defauts() 168 log_config->email_hdrs_log_depth = 0; in set_mime_log_config_defauts() 183 bool is_mime_log_enabled(MAIL_LogConfig *log_config) in is_mime_log_enabled() argument 185 if(log_config->log_email_hdrs || log_config->log_filename || in is_mime_log_enabled() 186 log_config->log_mailfrom || log_config->log_rcptto) in is_mime_log_enabled()
|
/dports/www/p5-CGI-Application-Plugin-LogDispatch/CGI-Application-Plugin-LogDispatch-1.02/lib/CGI/Application/Plugin/ |
H A D | LogDispatch.pm | 27 $callpkg->log_config(@_) if @_; 104 sub log_config { subroutine 108 my $log_config; 111 $log_config = $self->{__LOG_CONFIG} ||= {}; 116 $log_config = ${$class.'::__LOG_CONFIG'}; 132 $log_config->{LOG_DISPATCH_OPTIONS} = delete $props->{LOG_DISPATCH_OPTIONS}; 139 $log_config->{LOG_DISPATCH_MODULES} = delete $props->{LOG_DISPATCH_MODULES}; 144 $log_config->{APPEND_NEWLINE} = 1; 160 $log_config;
|
/dports/net/bird2/bird-2.0.8/sysdep/unix/ |
H A D | log.c | 92 log_size(struct log_config *l) in log_size() 99 log_close(struct log_config *l) in log_close() 107 log_open(struct log_config *l) in log_open() 124 log_rotate(struct log_config *l) in log_rotate() 156 struct log_config *l; in log_commit() 344 static struct log_config lc_syslog; in default_log_list() 345 lc_syslog = (struct log_config){ in default_log_list() 356 static struct log_config lc_debug; in default_log_list() 357 lc_debug = (struct log_config){ in default_log_list() 368 lc_stderr = (struct log_config){ in default_log_list() [all …]
|
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/surface/compute/networks/subnets/ |
H A D | create.py | 260 log_config.flowSampling = args.logging_flow_sampling 262 log_config.metadata = flags.GetLoggingMetadataArg( 265 log_config.filterExpr = args.logging_filter_expr 267 log_config.metadataFields = args.logging_metadata_fields 268 subnetwork.logConfig = log_config 274 log_config = ( 278 log_config.aggregationInterval = ( 282 log_config.flowSampling = args.flow_sampling 287 log_config.filterExpr = args.logging_filter_expr 289 log_config.metadataFields = args.logging_metadata_fields [all …]
|
/dports/devel/py-streamparse/streamparse-4.0.0/streamparse/cli/ |
H A D | common.py | 301 log_config = env_config.get("log", {}) 302 log_path = log_config.get("path") or env_config.get("log_path") 303 log_file = log_config.get("file") or env_config.get("log_file") 308 if isinstance(log_config.get("max_bytes"), int): 309 storm_options["pystorm.log.max_bytes"] = log_config["max_bytes"] 310 if isinstance(log_config.get("backup_count"), int): 311 storm_options["pystorm.log.backup_count"] = log_config["backup_count"] 312 if isinstance(log_config.get("level"), str): 313 storm_options["pystorm.log.level"] = log_config["level"].lower()
|
/dports/www/p5-Jifty/Jifty-1.50430/lib/Jifty/ |
H A D | Logger.pm | 147 my $log_config 151 Log::Log4perl->init_and_watch( $log_config, 153 } elsif ( -f $log_config and -r $log_config ) { 154 Log::Log4perl->init($log_config);
|
/dports/security/p5-openxpki-i18n/openxpki-3.16.1/core/server/OpenXPKI/ |
H A D | SOAP.pm | 20 my $log_config = $config->{global}->{log_config}; 21 if (! $log_config) { 31 OpenXPKI::Log4perl->init_or_fallback( $log_config );
|
/dports/security/p5-openxpki/openxpki-3.16.1/core/server/OpenXPKI/ |
H A D | SOAP.pm | 20 my $log_config = $config->{global}->{log_config}; 21 if (! $log_config) { 31 OpenXPKI::Log4perl->init_or_fallback( $log_config );
|
/dports/security/snort/snort-2.9.18/src/dynamic-preprocessors/smtp/ |
H A D | smtp_config.c | 292 config->log_config.log_filename = 1; in SMTP_ParseArgs() 296 config->log_config.log_mailfrom = 1; in SMTP_ParseArgs() 300 config->log_config.log_rcptto = 1; in SMTP_ParseArgs() 304 config->log_config.log_email_hdrs = 1; in SMTP_ParseArgs() 361 if(!config->log_config.email_hdrs_log_depth) in SMTP_ParseArgs() 363 if(config->log_config.log_email_hdrs) in SMTP_ParseArgs() 369 config->log_config.log_email_hdrs = 0; in SMTP_ParseArgs() 404 … if(pPolicyConfig->log_config.log_email_hdrs && pPolicyConfig->log_config.email_hdrs_log_depth) in SMTP_CheckConfig() 415 … pPolicyConfig->log_config.email_hdrs_log_depth = defaultConfig->log_config.email_hdrs_log_depth; in SMTP_CheckConfig() 680 if(config->log_config.log_email_hdrs) in SMTP_PrintConfig() [all …]
|
/dports/security/ossec-hids-server/ossec-hids-3.6.0/src/config/ |
H A D | localfile-config.c | 34 logreader_config *log_config; in Read_Localfile() local 36 log_config = (logreader_config *)d1; in Read_Localfile() 39 if (!log_config->config) { in Read_Localfile() 40 os_calloc(2, sizeof(logreader), log_config->config); in Read_Localfile() 41 logf = log_config->config; in Read_Localfile() 55 logf = log_config->config; in Read_Localfile() 61 os_realloc(logf, (pl + 2)*sizeof(logreader), log_config->config); in Read_Localfile() 62 logf = log_config->config; in Read_Localfile() 100 if (log_config->agent_cfg == 1 && log_config->accept_remote == 0) { in Read_Localfile() 216 os_realloc(logf, (pl +2)*sizeof(logreader), log_config->config); in Read_Localfile() [all …]
|
/dports/security/ossec-hids-local/ossec-hids-3.6.0/src/config/ |
H A D | localfile-config.c | 34 logreader_config *log_config; in Read_Localfile() local 36 log_config = (logreader_config *)d1; in Read_Localfile() 39 if (!log_config->config) { in Read_Localfile() 40 os_calloc(2, sizeof(logreader), log_config->config); in Read_Localfile() 41 logf = log_config->config; in Read_Localfile() 55 logf = log_config->config; in Read_Localfile() 61 os_realloc(logf, (pl + 2)*sizeof(logreader), log_config->config); in Read_Localfile() 62 logf = log_config->config; in Read_Localfile() 100 if (log_config->agent_cfg == 1 && log_config->accept_remote == 0) { in Read_Localfile() 216 os_realloc(logf, (pl +2)*sizeof(logreader), log_config->config); in Read_Localfile() [all …]
|
/dports/security/ossec-hids-agent/ossec-hids-3.6.0/src/config/ |
H A D | localfile-config.c | 34 logreader_config *log_config; in Read_Localfile() local 36 log_config = (logreader_config *)d1; in Read_Localfile() 39 if (!log_config->config) { in Read_Localfile() 40 os_calloc(2, sizeof(logreader), log_config->config); in Read_Localfile() 41 logf = log_config->config; in Read_Localfile() 55 logf = log_config->config; in Read_Localfile() 61 os_realloc(logf, (pl + 2)*sizeof(logreader), log_config->config); in Read_Localfile() 62 logf = log_config->config; in Read_Localfile() 100 if (log_config->agent_cfg == 1 && log_config->accept_remote == 0) { in Read_Localfile() 216 os_realloc(logf, (pl +2)*sizeof(logreader), log_config->config); in Read_Localfile() [all …]
|
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/googlecloudsdk/api_lib/compute/ |
H A D | health_checks_utils.py | 582 log_config = None 584 log_config = messages.HealthCheckLogConfig(enable=args.enable_logging) 585 return log_config 592 log_config = None 596 return log_config 597 log_config = messages.HealthCheckLogConfig() 599 log_config = copy.deepcopy(existing_log_config) 602 log_config.enable = args.enable_logging 604 return log_config
|
H A D | subnets_utils.py | 143 log_config = client.messages.SubnetworkLogConfig(enable=enable_flow_logs) 145 log_config.aggregationInterval = flags.GetLoggingAggregationIntervalArg( 148 log_config.flowSampling = flow_sampling 150 log_config.metadata = flags.GetLoggingMetadataArg( 153 log_config.filterExpr = filter_expr 155 log_config.metadataFields = metadata_fields 156 subnetwork.logConfig = log_config
|
/dports/comms/wsjtz/wsjtx/ |
H A D | WSJTXLogging.cpp | 190 …QFile log_config {QStandardPaths::locate (QStandardPaths::ConfigLocation, "wsjtx_log_config.ini")}; in WSJTXLogging() local 191 if (log_config.exists () && log_config.open (QFile::ReadOnly) && log_config.isReadable ()) in WSJTXLogging() 193 QTextStream ts {&log_config}; in WSJTXLogging() 229 LOG_INFO ("Read logging configuration file: " << log_config.fileName ()); in WSJTXLogging() 234 …LOG_ERROR ("Reading logging configuration file: " << log_config.fileName () << " - " << e.what ()); in WSJTXLogging()
|
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/surface/compute/firewall_rules/ |
H A D | update.py | 125 def _AddLoggingMetadata(self, messages, args, log_config): argument 127 if log_config is None or not log_config.enable: 132 log_config.metadata = flags.GetLoggingMetadataArg( 225 log_config = client.messages.FirewallLogConfig(enable=args.enable_logging) 226 self._AddLoggingMetadata(client.messages, args, log_config) 228 log_config = ( 231 self._AddLoggingMetadata(client.messages, args, log_config) 247 logConfig=log_config)
|