Tip of the day: If you still have users on plaintext port 6667, consider enabling Strict Transport Security to gently move users to SSL/TLS on port 6697.

List of all log messages

From UnrealIRCd documentation wiki
Jump to navigation Jump to search

IMPORTANT: This list is NOT for end-users searching for a solution on a particular log message. If you need help on a particular log event, check the FAQ, use the forums or join on IRC.

Below is a long list of all log messages that are generated in UnrealIRCd. This list is meant for UnrealIRCd coders & JSON log consumers. It will tell you how the log message looks, what JSON data is included and where the message is generated in the source code. The list is autogenerated and updated daily to track latest git.

If you are not a programmer then this list will not really tell you much more than you already saw in the log message. In particular, the list below will NOT contain solutions for any problems.

The list is grouped by subsystem. For an explanation of severities, subsystems, etc. see Log sources.

How to use this list for debugging

This list is mostly meant for finding out JSON data (see next item), but C coders can also use it to debug problems or just in case they wonder where exactly in the source a particular log message is generated or for what reason. In that case, simply CTRL+F on this page to search on the event id (eg: LOCAL_CLIENT_CONNECT) to find all details of the logging call, including direct link to the source code.

How to use this list for JSON data

Say, you want to parse the JSON messages from UnrealIRCd logging. The format for this is documented at JSON logging but every event may contain additional objects. You can use this page to discover these.

For example, if you look at the connect subsystem at the 3rd item, the event LOCAL_CLIENT_DISCONNECT there you can see the unreal_log() function call like this:

unreal_log(ULOG_INFO, "connect", "LOCAL_CLIENT_DISCONNECT", client,
           "Client exiting: $client ($client.user.username@$client.hostname) [$client.ip] ($reason)",
           log_data_string("extended_client_info", get_connect_extinfo(client)),
           log_data_string("reason", comment),
           log_data_integer("connected_time", connected_time));

Every unreal_log() call has the following parameters:

  1. Severity, eg ULOG_INFO
  2. Subsystem, eg connect
  3. Event ID, eg LOCAL_CLIENT_DISCONNECT
  4. Client, eg client, or NULL. This will decide if the client object is included.
  5. Human readable string with $variables, in this example: Client exiting: $client ($client.user.username@$client.hostname) [$client.ip] ($reason)
  6. log_data_xxx function calls for variables. All these variables are included in the JSON data and they can also be used in the human readable string.

In the unreal_log() example call for LOCAL_CLIENT_DISCONNECT we can see that there are 3 log_data_ items being used, for:

  • extended_client_info: which comes from get_connect_extinfo()
  • reason: which is the exit comment, such as the /QUIT reason.
  • connected_time: an integer describing how long the user was online

List

antimixedutf8

Event ID Call
ANTIMIXEDUTF8_HIT In src/modules/antimixedutf8.c:215:
unreal_log(ULOG_INFO, "antimixedutf8", "ANTIMIXEDUTF8_HIT", client,
           "[antimixedutf8] Client $client.details hit score $score -- taking action",
           log_data_integer("score", score));

antirandom

Event ID Call
ANTIRANDOM_DENIED_USER In src/modules/antirandom.c:872:
unreal_log(ULOG_INFO, "antirandom", "ANTIRANDOM_DENIED_USER", client,
           "[antirandom] would have denied access to user with score $score: $client.details:$client.user.realname",
           log_data_integer("score", score));
In src/modules/antirandom.c:883:
unreal_log(ULOG_INFO, "antirandom", "ANTIRANDOM_DENIED_USER", client,
           "[antirandom] denied access to user with score $score: $client.details:$client.user.realname",
           log_data_integer("score", score));

auth

Event ID Call
AUTH_REJECT_DEFAULT_PASSWORD In src/auth.c:456:
unreal_log(ULOG_INFO, "auth", "AUTH_REJECT_DEFAULT_PASSWORD", client,
           "Rejecting default password 'changemeplease'. "
           "Please change the password in the configuration file.");

bug

Event ID Call
REPUTATION_CHANNEL_QUERY_BUG In src/modules/reputation.c:1072:
unreal_log(ULOG_WARNING, "bug", "REPUTATION_CHANNEL_QUERY_BUG", client,
           "[BUG] reputation_channel_query() expected $expected_users users, but $found_users (or more) users were present in $channel",
           log_data_integer("expected_users", channel->users),
           log_data_integer("found_users", cnt),
           log_data_string("channel", channel->name));
TKL_HASH_INVALID In src/modules/tkl.c:2456:
unreal_log(ULOG_ERROR, "bug", "TKL_HASH_INVALID", NULL,
           "tkl_hash() called with out of range parameter (c = '$tkl_char') !!!",
           log_data_char("tkl_char", c));
TKL_TYPETOCHAR_INVALID In src/modules/tkl.c:2475:
unreal_log(ULOG_ERROR, "bug", "TKL_TYPETOCHAR_INVALID", NULL,
           "tkl_typetochar(): unknown type $tkl_type!!!",
           log_data_integer("tkl_type", type));

central-spamfilter

Event ID Call
CENTRAL_SPAMFILTER_STATUS In src/conf.c:11860:
unreal_log(ULOG_INFO, "central-spamfilter", "CENTRAL_SPAMFILTER_STATUS", NULL,
           "Processing central spamfilter rules...");
In src/conf.c:11897:
unreal_log(ULOG_INFO, "central-spamfilter", "CENTRAL_SPAMFILTER_STATUS", NULL,
           "Central spamfilter loaded (active rules: $active_rules, skipped: $skipped_rules)",
           log_data_integer("active_rules", active_rules),
           log_data_integer("skipped_rules", num_rules - active_rules));
In src/conf.c:11915:
unreal_log(ULOG_INFO, "central-spamfilter", "CENTRAL_SPAMFILTER_STATUS", NULL,
           "Starting download of central spamfilter rules...");
CENTRAL_SPAMFILTER_LOAD_FAILED In src/conf.c:11872:
unreal_log(ULOG_ERROR, "central-spamfilter", "CENTRAL_SPAMFILTER_LOAD_FAILED", NULL,
           "[Central spamfilter] Failed to load");
In src/conf.c:11882:
unreal_log(ULOG_ERROR, "central-spamfilter", "CENTRAL_SPAMFILTER_LOAD_FAILED", NULL,
        "[Central spamfilter] Errors in the central central_spamfilter.conf -- not loaded.");
CENTRAL_SPAMFILTER_RELOAD In src/serv.c:635:
unreal_log(ULOG_INFO, "central-spamfilter", "CENTRAL_SPAMFILTER_RELOAD", client,
           "Reloading Central Spamfilter rules. [by: $client.details]");

channel

Event ID Call
CHANNEL_SYNC_TS_CHANGE In src/modules/sjoin.c:807:
unreal_log(ULOG_INFO, "channel", "CHANNEL_SYNC_TS_CHANGE", client,
           "Channel $channel: timestamp changed from $old_ts -> $new_ts "
           "after syncing with server $client.",
           log_data_channel("channel", channel),
           log_data_integer("old_ts", oldts),
           log_data_integer("new_ts", channel->creationtime));

channeldb

Event ID Call
CHANNELDB_FILE_WRITE_ERROR In src/modules/channeldb.c:34:
unreal_log(ULOG_ERROR, "channeldb", "CHANNELDB_FILE_WRITE_ERROR", NULL, \
           "[channeldb] Error writing to temporary database file $filename: $system_error", \
           log_data_string("filename", fname), \
           log_data_string("system_error", unrealdb_get_error_string()));
CHANNELDB_BENCHMARK In src/modules/channeldb.c:560:
unreal_log(ULOG_DEBUG, "channeldb", "CHANNELDB_BENCHMARK", NULL,
           "[channeldb] Benchmark: LOAD DB: $time_msec microseconds",
           log_data_integer("time_msec", ((tv_beta.tv_sec - tv_alpha.tv_sec) * 1000000) + (tv_beta.tv_usec - tv_alpha.tv_usec)));

charsys

Event ID Call
NICKCHARS_CHANGED In src/serv.c:1106:
unreal_log(ULOG_INFO, "charsys", "NICKCHARS_CHANGED", NULL,
           "Permitted nick characters changed at runtime: $old_nickchars -> $new_nickchars",
           log_data_string("old_nickchars", previous_langsinuse),
           log_data_string("new_nickchars", langsinuse));

chgcmds

Event ID Call
CHGNAME_COMMAND In src/modules/chgname.c:103:
unreal_log(ULOG_INFO, "chgcmds", "CHGNAME_COMMAND", client,
           "CHGNAME: $issuer changed the realname of $target.details to be $new_realname",
           log_data_string("issuer", issuer),
           log_data_string("change_type", "realname"),
           log_data_client("target", target),
           log_data_string("new_realname", parv[2]));
In src/modules/chgname.c:110:
unreal_log(ULOG_INFO, "chgcmds", "CHGNAME_COMMAND", client,
           "CHGNAME: $client changed the realname of $target.details to be $new_realname",
           log_data_string("change_type", "realname"),
           log_data_client("target", target),
           log_data_string("new_realname", parv[2]));
CHGHOST_COMMAND In src/modules/chghost.c:348:
unreal_log(ULOG_INFO, "chgcmds", "CHGHOST_COMMAND", client,
           "CHGHOST: $issuer changed the virtual hostname of $target.details to be $new_hostname",
           log_data_string("issuer", issuer),
           log_data_string("change_type", "hostname"),
           log_data_client("target", target),
           log_data_string("new_hostname", parv[2]));
In src/modules/chghost.c:355:
unreal_log(ULOG_INFO, "chgcmds", "CHGHOST_COMMAND", client,
           "CHGHOST: $client changed the virtual hostname of $target.details to be $new_hostname",
           log_data_string("change_type", "hostname"),
           log_data_client("target", target),
           log_data_string("new_hostname", parv[2]));
CHGIDENT_COMMAND In src/modules/chgident.c:143:
unreal_log(ULOG_INFO, "chgcmds", "CHGIDENT_COMMAND", client,
           "CHGIDENT: $issuer changed the username of $target.details to be $new_username",
           log_data_string("issuer", issuer),
           log_data_string("change_type", "username"),
           log_data_client("target", target),
           log_data_string("new_username", parv[2]));
In src/modules/chgident.c:150:
unreal_log(ULOG_INFO, "chgcmds", "CHGIDENT_COMMAND", client,
           "CHGIDENT: $client changed the username of $target.details to be $new_username",
           log_data_string("change_type", "username"),
           log_data_client("target", target),
           log_data_string("new_username", parv[2]));

client

Event ID Call
NEW_USER_RECORD In src/modules/lusers.c:91:
unreal_log(ULOG_INFO, "client", "NEW_USER_RECORD", NULL,
           "New record on this server: $num_users connections",
           log_data_integer("num_users", max_connection_count));

close

Event ID Call
CLOSED_CONNECTIONS In src/modules/close.c:78:
unreal_log(ULOG_INFO, "close", "CLOSED_CONNECTIONS", client,
           "$client.details closed $num_closed unknown connections",
           log_data_integer("num_closed", closed));

config

Event ID Call
NO_CLOAKING_MODULE In src/modules.c:1284:
unreal_log(ULOG_ERROR, "config", "NO_CLOAKING_MODULE", NULL,
           "No cloaking module loaded, you must load 1 of these modulese:\n"
           "1) cloak_sha256 - if you are a new network starting with UnrealIRCd 6\n"
           "2) cloak_md5 - the old one if migrating an existing network from UnrealIRCd 3.2/4/5\n"
           "3) cloak_none - if you don't want to use cloaking at all\n"
           "See also https://www.unrealircd.org/docs/FAQ#choose-a-cloaking-module");
CONFIG_NOT_LOADED In src/conf.c:2039:
unreal_log(ULOG_ERROR, "config", "CONFIG_NOT_LOADED", NULL, "IRCd configuration failed to load");
CONFIG_LOADED In src/conf.c:2202:
unreal_log(ULOG_INFO, "config", "CONFIG_LOADED", NULL, "Configuration loaded");
BEST_PRACTICES In src/conf.c:2205:
unreal_log(ULOG_INFO, "config", "BEST_PRACTICES", NULL,
           "Your config has NO errors, but you received some best practices tips above, in summary:");
BEST_PRACTICES_HASHED_PASSWORDS_INFO In src/conf.c:2209:
unreal_log(ULOG_INFO, "config", "BEST_PRACTICES_HASHED_PASSWORDS_INFO", NULL,
           "* Use hashed passwords, see https://www.unrealircd.org/docs/Authentication_types "
           "to learn more about this.");
BEST_PRACTICES_POST_INFO In src/conf.c:2213:
unreal_log(ULOG_INFO, "config", "BEST_PRACTICES_POST_INFO", NULL,
           "It is recommended you follow best practices, but if you want to hide "
           "such suggestions see "
           "https://www.unrealircd.org/docs/Set_block#set::best-practices");
CONFIG_BUG_DUPLICATE_RESOURCE In src/conf.c:2294:
unreal_log(ULOG_ERROR, "config", "CONFIG_BUG_DUPLICATE_RESOURCE", NULL,
           "[BUG] Config file $file has been loaded $counter times. "
           "This should not happen. Someone forgot to call "
           "add_config_resource() or check its return value!",
           log_data_string("file", filename),
           log_data_integer("counter", counter));
CONFIG_LOAD_FILE_FAILED In src/conf.c:2358:
unreal_log(ULOG_ERROR, "config", "CONFIG_LOAD_FILE_FAILED", NULL,
           "Could not load configuration file: $resource",
           log_data_string("resource", display_name),
           log_data_string("filename", filename));
DOWNLOAD_FAILED_SOFT In src/conf.c:11033:
unreal_log(ULOG_ERROR, "config", "DOWNLOAD_FAILED_SOFT", NULL,
           "$file:$line_number: Failed to download '$url': $error_message\n"
           "Using a cached copy instead.",
           log_data_string("file", rs->wce->ce->file->filename),
           log_data_integer("line_number", rs->wce->ce->line_number),
           log_data_string("url", displayurl(url)),
           log_data_string("error_message", errorbuf));
DOWNLOAD_FAILED_HARD In src/conf.c:11042:
unreal_log(ULOG_ERROR, "config", "DOWNLOAD_FAILED_HARD", NULL,
           "$file:$line_number: Failed to download '$url': $error_message",
           log_data_string("file", rs->wce->ce->file->filename),
           log_data_integer("line_number", rs->wce->ce->line_number),
           log_data_string("url", displayurl(url)),
           log_data_string("error_message", errorbuf));
CONFIG_RELOAD In src/conf.c:11132:
unreal_log(ULOG_INFO, "config", "CONFIG_RELOAD", NULL, "Rehashing server configuration file [./unrealircd rehash]");
In src/serv.c:652:
unreal_log(ULOG_INFO, "config", "CONFIG_RELOAD", client, "Rehashing server configuration file [by: $client.details]");
In src/proc_io_server.c:155:
unreal_log(ULOG_INFO, "config", "CONFIG_RELOAD", client, "Rehashing server configuration file [./unrealircd rehash]");
In src/modules/rpc/server.c:196:
unreal_log(ULOG_INFO, "config", "CONFIG_RELOAD", client, "Rehashing server configuration file [by: $client.details]");
CONFIG_BAD_MODULES_DEFAULT_CONF In src/conf.c:11576:
unreal_log(ULOG_ERROR, "config", "CONFIG_BAD_MODULES_DEFAULT_CONF", NULL,
           "Your 'modules.default.conf' is from $your_conf_version and "
           "not the one shipped with UnrealIRCd $version.\n"
           "* Maybe you accidentally copied an old modules.default.conf from a previous installation?\n"
           "* Or you deliberately modified modules.default.conf? That is not allowed,"
           " see the BIG warning at the beginning of that file.\n"
           "Solution: re-run 'make install' and then try to REHASH or boot again.\n",
           log_data_string("your_conf_version", conf_version),
           log_data_string("version", VERSIONONLY));
WRITE_TUNE_FILE_FAILED In src/serv.c:459:
unreal_log(ULOG_WARNING, "config", "WRITE_TUNE_FILE_FAILED", NULL,
           "Unable to write tunefile '$filename': $system_error",
           log_data_string("filename", conf_files->tune_file),
           log_data_string("system_error", errstr));
READ_TUNE_FILE_FAILED In src/serv.c:483:
unreal_log(ULOG_WARNING, "config", "READ_TUNE_FILE_FAILED", NULL,
           "Unable to read tunefile '$filename': $system_error",
           log_data_string("filename", conf_files->tune_file),
           log_data_string("system_error", errstr));
CONFIG_RELOAD_TLS In src/serv.c:625:
unreal_log(ULOG_INFO, "config", "CONFIG_RELOAD_TLS", client, "Reloading all TLS related data. [by: $client.details]");
In src/ircd.c:996:
unreal_log(ULOG_INFO, "config", "CONFIG_RELOAD_TLS", NULL, "Reloading all TLS related data (./unrealircd reloadtls)");
In src/proc_io_server.c:149:
unreal_log(ULOG_INFO, "config", "CONFIG_RELOAD_TLS", NULL, "Reloading all TLS related data (./unrealircd reloadtls)");
BEST_PRACTICES_HASHED_PASSWORDS In src/auth.c:197:
unreal_log(ULOG_INFO, "config", "BEST_PRACTICES_HASHED_PASSWORDS", NULL,
           "$file:$line_number: $config_item: Advice: it is not recommended to use plaintext passwords in the config file. "
           "You can replace this password with the following password hash:\n"
           "password \"$hashed_password\";
CONFIG_PASSED In src/ircd.c:862:
unreal_log(ULOG_INFO, "config", "CONFIG_PASSED", NULL, "Configuration test passed OK");
TLS_LOAD_FAILED In src/tls.c:292:
unreal_log(ULOG_ERROR, "config", "TLS_LOAD_FAILED", NULL,
           "Failed to do SSL_CTX_new() !?\n$tls_error.all",
           log_data_tls_error());
In src/tls.c:319:
unreal_log(ULOG_ERROR, "config", "TLS_LOAD_FAILED", NULL,
           "Failed to load TLS certificate $filename\n$tls_error.all",
           log_data_string("filename", tlsoptions->certificate_file),
           log_data_tls_error());
In src/tls.c:328:
unreal_log(ULOG_ERROR, "config", "TLS_LOAD_FAILED", NULL,
           "Failed to load TLS private key $filename\n$tls_error.all",
           log_data_string("filename", tlsoptions->key_file),
           log_data_tls_error());
In src/tls.c:337:
unreal_log(ULOG_ERROR, "config", "TLS_LOAD_FAILED", NULL,
           "Check for TLS private key failed $filename\n$tls_error.all",
           log_data_string("filename", tlsoptions->key_file),
           log_data_tls_error());
In src/tls.c:391:
unreal_log(ULOG_ERROR, "config", "TLS_LOAD_FAILED", NULL,
           "Failed to load trusted-ca-file $filename\n$tls_error.all",
           log_data_string("filename", tlsoptions->trusted_ca_file),
           log_data_tls_error());
TLS_INVALID_CIPHERS_LIST In src/tls.c:346:
unreal_log(ULOG_ERROR, "config", "TLS_INVALID_CIPHERS_LIST", NULL,
           "Failed to set TLS cipher list '$tls_ciphers_list'\n$tls_error.all",
           log_data_string("tls_ciphers_list", tlsoptions->ciphers),
           log_data_tls_error());
TLS_INVALID_CIPHERSUITES_LIST In src/tls.c:356:
unreal_log(ULOG_ERROR, "config", "TLS_INVALID_CIPHERSUITES_LIST", NULL,
           "Failed to set TLS ciphersuites list '$tls_ciphersuites_list'\n$tls_error.all",
           log_data_string("tls_ciphersuites_list", tlsoptions->ciphersuites),
           log_data_tls_error());
TLS_CIPHER_CHECK_FAILED In src/tls.c:366:
unreal_log(ULOG_ERROR, "config", "TLS_CIPHER_CHECK_FAILED", NULL,
           "There is a problem with your TLS 'ciphers' configuration setting: $quality_check_error\n"
           "Remove the ciphers setting from your configuration file to use safer defaults, or change the cipher setting.",
           log_data_string("quality_check_error", errstr));
TLS_CERTIFICATE_CHECK_FAILED In src/tls.c:375:
unreal_log(ULOG_ERROR, "config", "TLS_CERTIFICATE_CHECK_FAILED", NULL,
           "There is a problem with your TLS certificate '$filename': $quality_check_error\n"
           "If you use the standard UnrealIRCd certificates then you can simply run 'make pem' and 'make install' "
           "from your UnrealIRCd source directory (eg: ~/unrealircd-6.X.Y/) to create and install new certificates",
           log_data_string("filename", tlsoptions->certificate_file),
           log_data_string("quality_check_error", errstr));
TLS_INVALID_ECDH_CURVES_LIST In src/tls.c:422:
unreal_log(ULOG_ERROR, "config", "TLS_INVALID_ECDH_CURVES_LIST", NULL,
           "Failed to set ecdh-curves '$ecdh_curves_list'\n$tls_error.all\n"
           "HINT: o get a list of supported curves with the appropriate names, "
           "run 'openssl ecparam -list_curves' on the server. "
           "Separate multiple curves by colon, for example: "
           "ecdh-curves \"secp521r1:secp384r1\".",
           log_data_string("ecdh_curves_list", tlsoptions->ecdh_curves),
           log_data_tls_error());
BUG_ECDH_CURVES In src/tls.c:436:
unreal_log(ULOG_ERROR, "config", "BUG_ECDH_CURVES", NULL,
           "ecdh-curves specified but not supported by library -- BAD!");
TLS_RELOAD_FAILED In src/tls.c:525:
unreal_log(ULOG_ERROR, "config", "TLS_RELOAD_FAILED", NULL,
           "TLS Reload failed. See previous errors.");
In src/tls.c:536:
unreal_log(ULOG_ERROR, "config", "TLS_RELOAD_FAILED", NULL,
           "TLS Reload failed at client context. See previous errors.");
In src/tls.c:552:
unreal_log(ULOG_ERROR, "config", "TLS_RELOAD_FAILED", NULL,
           "TLS Reload failed at listen::tls-options. See previous errors.");
In src/tls.c:570:
unreal_log(ULOG_ERROR, "config", "TLS_RELOAD_FAILED", NULL,
           "TLS Reload failed at sni::tls-options. See previous errors.");
In src/tls.c:588:
unreal_log(ULOG_ERROR, "config", "TLS_RELOAD_FAILED", NULL,
           "TLS Reload failed at link $servername due to outgoing::tls-options. See previous errors.",
           log_data_string("servername", link->servername));
TLS_CREATE_SESSION_FAILED In src/tls.c:653:
unreal_log(ULOG_ERROR, "config", "TLS_CREATE_SESSION_FAILED", NULL,
           "Could not start TLS client handshake (no ctx?): TLS was possibly not loaded correctly on this server!?\n$tls_error.all",
           log_data_tls_error());
In src/tls.c:662:
unreal_log(ULOG_ERROR, "config", "TLS_CREATE_SESSION_FAILED", NULL,
           "Could not start TLS client handshake: TLS was possibly not loaded correctly on this server!?\n$tls_error.all",
           log_data_tls_error());
CLOAK_MODULE_DUPLICATE In src/modules/cloak_none.c:40:
unreal_log(ULOG_ERROR, "config", "CLOAK_MODULE_DUPLICATE", NULL,
           "cloak_none: Error while trying to install callback.\n"
           "Maybe you have multiple cloaking modules loaded? You can only load one!");
In src/modules/cloak_md5.c:61:
unreal_log(ULOG_ERROR, "config", "CLOAK_MODULE_DUPLICATE", NULL,
           "cloak_md5: Error while trying to install callback.\n"
           "Maybe you have multiple cloaking modules loaded? You can only load one!");
In src/modules/cloak_sha256.c:63:
unreal_log(ULOG_ERROR, "config", "CLOAK_MODULE_DUPLICATE", NULL,
           "cloak_sha256: Error while trying to install callback.\n"
           "Maybe you have multiple cloaking modules loaded? You can only load one!");
SASL_SERVER_AUTODETECT In src/modules/sasl.c:294:
unreal_log(ULOG_INFO, "config", "SASL_SERVER_AUTODETECT", client,
           "Services server $client provides SASL authentication, good! "
           "I'm setting set::sasl-server to \"$client\" internally.");
WRITE_PID_FILE_FAILED In src/misc.c:2574:
unreal_log(ULOG_WARNING, "config", "WRITE_PID_FILE_FAILED", NULL,
           "Unable to write to pid file '$filename': $system_error",
           log_data_string("filename", conf_files->pid_file),
           log_data_string("system_error", errstr));
CONFIG_OLD_LOG_BLOCK In src/log.c:355:
unreal_log(ULOG_ERROR, "config", "CONFIG_OLD_LOG_BLOCK", NULL,
           "$config_file:$line_number: Your log block contains no sources and no destinations.\n"
           "The log block changed between UnrealIRCd 5 and UnrealIRCd 6, "
           "see https://www.unrealircd.org/docs/FAQ#old-log-block on how "
           "to convert it to the new syntax.",
           log_data_string("config_file", block->file->filename),
           log_data_integer("line_number", block->line_number));
LOG_SNOMASK_BLOCK_MISSING In src/log.c:1693:
unreal_log(ULOG_ERROR, "config", "LOG_SNOMASK_BLOCK_MISSING", NULL,
           "Missing snomask logging configuration:\n"
           "Please add the following line to your unrealircd.conf: "
           "include \"snomasks.default.conf\";

connect

Event ID Call
REMOTE_CLIENT_CONNECT In src/modules/nick.c:723:
unreal_log(ULOG_INFO, "connect", "REMOTE_CLIENT_CONNECT", client,
           "Client connecting: $client ($client.user.username@$client.hostname) [$client.ip] $extended_client_info",
           log_data_string("extended_client_info", get_connect_extinfo(client)),
           log_data_string("from_server_name", client->user->server));
LOCAL_CLIENT_CONNECT In src/modules/nick.c:1117:
unreal_log(ULOG_INFO, "connect", "LOCAL_CLIENT_CONNECT", client,
           "Client connecting: $client ($client.user.username@$client.hostname) [$client.ip] $extended_client_info",
           log_data_string("extended_client_info", get_connect_extinfo(client)));
LOCAL_CLIENT_DISCONNECT In src/misc.c:610:
unreal_log(ULOG_INFO, "connect", "LOCAL_CLIENT_DISCONNECT", client,
           "Client exiting: $client ($client.user.username@$client.hostname) [$client.ip] ($reason)",
           log_data_string("extended_client_info", get_connect_extinfo(client)),
           log_data_string("reason", comment),
           log_data_integer("connected_time", connected_time));
REMOTE_CLIENT_DISCONNECT In src/misc.c:632:
unreal_log(ULOG_INFO, "connect", "REMOTE_CLIENT_DISCONNECT", client,
           "Client exiting: $client ($client.user.username@$client.hostname) [$client.ip] ($reason)",
           log_data_string("extended_client_info", get_connect_extinfo(client)),
           log_data_string("reason", comment),
           log_data_string("from_server_name", client->user->server));

connthrottle

Event ID Call
CONNTHROTLE_REPORT In src/modules/connthrottle.c:366:
unreal_log(ULOG_INFO, "connthrottle", "CONNTHROTLE_REPORT", NULL,
           "ConnThrottle] Stats for this server past 60 secs: "
           "Connections rejected: $num_rejected. "
           "Accepted: $num_accepted_except except user(s) and "
           "$num_accepted_unknown_users new user(s).",
           log_data_integer("num_rejected", ucounter->rejected_clients),
           log_data_integer("num_accepted_except", ucounter->allowed_except),
           log_data_integer("num_accepted_unknown_users", ucounter->allowed_unknown_users));
CONNTHROTLE_ACTIVATED In src/modules/connthrottle.c:422:
unreal_log(ULOG_WARNING, "connthrottle", "CONNTHROTLE_ACTIVATED", NULL,
           "[ConnThrottle] Connection throttling has been ACTIVATED due to a HIGH CONNECTION RATE.\n"
           "Users with IP addresses that have not been seen before will be rejected above the set connection rate. Known users can still get in.\n"
           "or more information see https://www.unrealircd.org/docs/ConnThrottle");
CONNTHROTLE_MODULE_DISABLED In src/modules/connthrottle.c:571:
unreal_log(ULOG_WARNING, "connthrottle", "CONNTHROTLE_MODULE_DISABLED", client,
           "[ConnThrottle] $client.details DISABLED the connthrottle module.");
CONNTHROTLE_MODULE_ENABLED In src/modules/connthrottle.c:581:
unreal_log(ULOG_WARNING, "connthrottle", "CONNTHROTLE_MODULE_ENABLED", client,
           "[ConnThrottle] $client.details ENABLED the connthrottle module.");
CONNTHROTLE_RESET In src/modules/connthrottle.c:588:
unreal_log(ULOG_WARNING, "connthrottle", "CONNTHROTLE_RESET", client,
           "[ConnThrottle] $client.details did a RESET on the statistics/counters.");

dcc

Event ID Call
DCC_REJECTED In src/modules/dccdeny.c:876:
unreal_log(ULOG_INFO, "dcc", "DCC_REJECTED", client,
           "$client.details tried to send forbidden file $filename ($ban_reason) to $target (is blocked now)",
           log_data_string("filename", displayfile),
           log_data_string("ban_reason", dccdeny->reason),
           log_data_string("target", target));

dccallow

Event ID Call
BUG_DCCALLOW In src/modules/dccallow.c:249:
unreal_log(ULOG_WARNING, "dccallow", "BUG_DCCALLOW", client,
           "[BUG] DCCALLOW list for $client did not contain $target",
           log_data_client("target", optr));

dccdeny

Event ID Call
DCCDENY_ADD In src/modules/dccdeny.c:377:
unreal_log(ULOG_INFO, "dccdeny", "DCCDENY_ADD", client,
           "[dccdeny] $client added a temporary DCCDENY for $file ($reason)",
           log_data_string("file", parv[1]),
           log_data_string("reason", parv[2]));
DCCDENY_DEL In src/modules/dccdeny.c:413:
unreal_log(ULOG_INFO, "dccdeny", "DCCDENY_DEL", client,
           "[dccdeny] $client removed a temporary DCCDENY for $file ($reason)",
           log_data_string("file", d->filename),
           log_data_string("reason", d->reason));

dns

Event ID Call
DNS_IO_CALLBACK_BUG In src/dns.c:91:
unreal_log(ULOG_ERROR, "dns", "DNS_IO_CALLBACK_BUG", NULL,
           "unrealdns_io_cb() called with invalid data ($data)",
           log_data_integer("data", (long long)data));
DNS_SOCK_CREATE_CB_BUG In src/dns.c:131:
unreal_log(ULOG_ERROR, "dns", "DNS_SOCK_CREATE_CB_BUG", NULL,
           "unrealdns_io_cb() called with invalid data ($data)",
           log_data_integer("data", (long long)data));
REINIT_RESOLVER In src/dns.c:220:
unreal_log(ULOG_INFO, "dns", "REINIT_RESOLVER", client,
           "$client requested reinitalization of the DNS resolver");
DNS_CACHE_CLEARED In src/dns.c:735:
unreal_log(ULOG_INFO, "dns", "DNS_CACHE_CLEARED", client,
           "DNS cache cleared by $client");

flood

Event ID Call
HANDSHAKE_DATA_FLOOD In src/parse.c:66:
unreal_log(ULOG_INFO, "flood", "HANDSHAKE_DATA_FLOOD", client,
           "Handshake data flood detected from $client.details [$client.ip]");
In src/parse.c:202:
unreal_log(ULOG_INFO, "flood", "HANDSHAKE_DATA_FLOOD", cptr,
           "Handshake data flood detected from $client.details [$client.ip]");
RECVQ_EXCEEDED In src/parse.c:78:
unreal_log(ULOG_INFO, "flood", "RECVQ_EXCEEDED", client,
           "Flood from $client.details [$client.ip] exceeds class::recvq ($recvq > $class_recvq) (Client sending too much data)",
           log_data_integer("recvq", DBufLength(&client->local->recvQ)),
           log_data_integer("class_recvq", get_recvq(client)));
SENDQ_EXCEEDED In src/send.c:389:
unreal_log(ULOG_INFO, "flood", "SENDQ_EXCEEDED", to,
           "Flood of queued data to $client.details [$client.ip] exceeds class::sendq ($sendq > $class_sendq) (Too much data queued to be sent to this client)",
           log_data_integer("sendq", DBufLength(&to->local->sendQ)),
           log_data_integer("class_sendq", get_sendq(to)));
BUG_SENDTYPETOWHAT_UNKNOWN_VALUE In src/modules/targetfloodprot.c:219:
unreal_log(ULOG_ERROR, "flood", "BUG_SENDTYPETOWHAT_UNKNOWN_VALUE", NULL,
           "[BUG] sendtypetowhat() called for unknown sendtype $send_type",
           log_data_integer("send_type", sendtype));
FLOOD_BLOCKED In src/modules/targetfloodprot.c:262:
unreal_log(ULOG_INFO, "flood", "FLOOD_BLOCKED", client,
           "Flood blocked ($flood_type) from $client.details [$client.ip] to $channel",
           log_data_string("flood_type", "target-flood-channel"),
           log_data_channel("channel", channel));
In src/modules/targetfloodprot.c:312:
unreal_log(ULOG_INFO, "flood", "FLOOD_BLOCKED", client,
           "Flood blocked ($flood_type) from $client.details [$client.ip] to $target",
           log_data_string("flood_type", "target-flood-user"),
           log_data_client("target", target));
BUG_FLOODPROTTIMER_ADD In src/modules/chanmodes/floodprot.c:1591:
unreal_log(ULOG_WARNING, "flood", "BUG_FLOODPROTTIMER_ADD", NULL,
           "[BUG] floodprottimer_add: too many timers running for $channel ($timers_running)",
           log_data_channel("channel", channel),
           log_data_string("timers_running", fld->timers_running));
TLS_HANDSHAKE_FLOOD In src/modules/tls_antidos.c:84:
unreal_log(ULOG_INFO, "flood", "TLS_HANDSHAKE_FLOOD", client, "TLS Handshake flood detected from $client.details -- killed");

geoip_classic

Event ID Call
GEOIP_ADD_CALLBACK_FAILED In src/modules/geoip_classic.c:169:
unreal_log(ULOG_ERROR, "geoip_classic", "GEOIP_ADD_CALLBACK_FAILED", NULL,
           "geoip_classic: Could not install GEOIP_LOOKUP callback. "
           "Most likely another geoip module is already loaded. "
           "You can only load one!");
GEOIP_CANNOT_OPEN_DB In src/modules/geoip_classic.c:206:
unreal_log(ULOG_WARNING, "geoip_classic", "GEOIP_CANNOT_OPEN_DB", NULL,
           "[IPv4] Could not open '$filename': $system_error",
           log_data_string("filename", geoip_classic_config.v4_db_file),
           log_data_string("system_error", strerror(save_err)));
In src/modules/geoip_classic.c:222:
unreal_log(ULOG_WARNING, "geoip_classic", "GEOIP_CANNOT_OPEN_DB", NULL,
           "[IPv6] Could not open '$filename': $system_error",
           log_data_string("filename", geoip_classic_config.v6_db_file),
           log_data_string("system_error", strerror(save_err)));
In src/modules/geoip_classic.c:232:
unreal_log(ULOG_ERROR, "geoip_classic", "GEOIP_CANNOT_OPEN_DB", NULL,
        "could not open any database!");

geoip_csv

Event ID Call
GEOIP_ADD_CALLBACK_FAILED In src/modules/geoip_csv.c:251:
unreal_log(ULOG_ERROR, "geoip_csv", "GEOIP_ADD_CALLBACK_FAILED", NULL,
           "geoip_csv: Could not install GEOIP_LOOKUP callback. "
           "Most likely another geoip module is already loaded. "
           "You can only load one!");
GEOIP_NO_COUNTRIES In src/modules/geoip_csv.c:297:
unreal_log(ULOG_DEBUG, "geoip_csv", "GEOIP_NO_COUNTRIES", NULL,
        "[BUG] No countries file specified");
GEOIP_CANNOT_OPEN_DB In src/modules/geoip_csv.c:305:
unreal_log(ULOG_ERROR, "geoip_csv", "GEOIP_CANNOT_OPEN_DB", NULL,
        "could not open required countries file!");
In src/modules/geoip_csv.c:313:
unreal_log(ULOG_ERROR, "geoip_csv", "GEOIP_CANNOT_OPEN_DB", NULL,
        "could not open any database!");
UNSUPPORTED_IP In src/modules/geoip_csv.c:748:
unreal_log(ULOG_WARNING, "geoip_csv", "UNSUPPORTED_IP", NULL, "Invalid or unsupported client IP $ip", log_data_string("ip", iip));
In src/modules/geoip_csv.c:782:
unreal_log(ULOG_WARNING, "geoip_csv", "UNSUPPORTED_IP", NULL, "Invalid or unsupported client IP $ip", log_data_string("ip", iip));

geoip_maxmind

Event ID Call
GEOIP_ADD_CALLBACK_FAILED In src/modules/geoip_maxmind.c:134:
unreal_log(ULOG_ERROR, "geoip_maxmind", "GEOIP_ADD_CALLBACK_FAILED", NULL,
           "geoip_maxmind: Could not install GEOIP_LOOKUP callback. "
           "Most likely another geoip module is already loaded. "
           "You can only load one!");
GEOIP_CANNOT_OPEN_DB In src/modules/geoip_maxmind.c:164:
unreal_log(ULOG_WARNING, "geoip_maxmind", "GEOIP_CANNOT_OPEN_DB", NULL,
           "Could not open '$filename' - $maxmind_error;
GEOIP_DB_ERROR In src/modules/geoip_maxmind.c:200:
unreal_log(ULOG_DEBUG, "geoip_maxmind", "GEOIP_DB_ERROR", NULL,
        "libmaxminddb: getaddrinfo error for $ip: $error",
        log_data_string("ip", ip),
        log_data_string("error", gai_strerror(gai_error)));
In src/modules/geoip_maxmind.c:209:
unreal_log(ULOG_DEBUG, "geoip_maxmind", "GEOIP_DB_ERROR", NULL,
        "libmaxminddb: library error for $ip: $error",
        log_data_string("ip", ip),
        log_data_string("error", MMDB_strerror(mmdb_error)));

history

Event ID Call
BUG_HISTORY_ADD_NO_LIMIT In src/modules/history_backend_mem.c:600:
unreal_log(ULOG_WARNING, "history", "BUG_HISTORY_ADD_NO_LIMIT", NULL,
           "[BUG] hbm_history_add() called for $object, which has no limit set",
           log_data_string("object", h->name));
HISTORYDB_FILE_WRITE_ERROR In src/modules/history_backend_mem.c:1676:
unreal_log(ULOG_ERROR, "history", "HISTORYDB_FILE_WRITE_ERROR", NULL, \
           "[historydb] Error writing to temporary database file $filename: $system_error", \
           log_data_string("filename", fname), \
           log_data_string("system_error", unrealdb_get_error_string()));

htm

Event ID Call
HIGH_CONNECTION_RATE In src/ircd.c:478:
unreal_log(ULOG_WARNING, "htm", "HIGH_CONNECTION_RATE", NULL,
           "High rate of connection attempts detected: $connects_per_second/sec exceeds $limit/sec: some minor functionality is now disabled. "
           "This could be an attack, or lots of genuine users connecting after a network outage.\n"
           "This message will appear every 10 minutes for as long as this is the case. "
           "You will NOT get a notification if all is normal again (which is evaluated every $sample_time seconds). "
           "See https://www.unrealircd.org/docs/FAQ#hi-conn-rate",
           log_data_integer("connects_per_second", connections_past_period/DETECT_HIGH_CONNECTION_RATE_SAMPLE_TIME),
           log_data_integer("limit", iConf.high_connection_rate),
           log_data_integer("sample_time", DETECT_HIGH_CONNECTION_RATE_SAMPLE_TIME));
In src/ircd.c:488:
unreal_log(ULOG_WARNING, "htm", "HIGH_CONNECTION_RATE", NULL,
           "High amount of connections in use ($connections is near limit of $maxclients maximum clients). Some minor functionality is now disabled. "
           "This could be an attack, or lots of genuine users connecting.\n"
           "This message will appear every 10 minutes for as long as this is the case. "
           "You will NOT get a notification if all is normal again (which is evaluated every $sample_time seconds). "
           "See https://www.unrealircd.org/docs/FAQ#hi-conn-rate",
           log_data_integer("connections", OpenFiles),
           log_data_integer("maxclients", maxclients),
           log_data_integer("sample_time", DETECT_HIGH_CONNECTION_RATE_SAMPLE_TIME));

io

Event ID Call
IO_DEBUG_FD_SETSELECT In src/dispatch.c:55:
unreal_log(ULOG_DEBUG, "io", "IO_DEBUG_FD_SETSELECT", NULL,
           "fd_setselect(): fd $fd flags $fd_flags function $function_pointer",
           log_data_integer("fd", fd),
           log_data_integer("fd_flags", flags),
           log_data_integer("function_pointer", (long long)iocb));
BUG_FD_SETSELECT_OUT_OF_RANGE In src/dispatch.c:63:
unreal_log(ULOG_ERROR, "io", "BUG_FD_SETSELECT_OUT_OF_RANGE", NULL,
           "[BUG] trying to modify fd $fd in fd table, but MAXCONNECTIONS is $maxconnections",
           log_data_integer("fd", fd),
           log_data_integer("maxconnections", MAXCONNECTIONS));
FD_DEBUG In src/dispatch.c:156:
unreal_log(ULOG_ERROR, "io", "FD_DEBUG", NULL,
           "[BUG] fd_debug: fd $fd is invalid!!!",
           log_data_integer("fd", i));
SELECT_ERROR In src/dispatch.c:191:
unreal_log(ULOG_FATAL, "io", "SELECT_ERROR", NULL,
           "select() returned error ($socket_error) -- SERIOUS TROUBLE!",
           log_data_socket_error(-1));
KEVENT_FAILED In src/dispatch.c:285:
unreal_log(ULOG_ERROR, "io", "KEVENT_FAILED", NULL,
           "[io] fd_fork(): kevent returned error: $system_error",
           log_data_string("system_error", strerror(errno)));
KEVENT_FAILED_REFRESH In src/dispatch.c:316:
unreal_log(ULOG_ERROR, "io", "KEVENT_FAILED_REFRESH", NULL,
           "fd_refresh(): kevent returned error for fd $fd ($fd_action) ($callback): $system_error",
           log_data_string("system_error", strerror(save_err)),
           log_data_integer("fd", fd),
           log_data_string("fd_action", (fde->read_callback ? "add" : "delete")),
           log_data_string("callback", "read_callback"));
In src/dispatch.c:336:
unreal_log(ULOG_ERROR, "io", "KEVENT_FAILED_REFRESH", NULL,
           "[io] fd_refresh(): kevent returned error for fd $fd ($fd_action) ($callback): $system_error",
           log_data_string("system_error", strerror(save_err)),
           log_data_integer("fd", fd),
           log_data_string("fd_action", "add"),
           log_data_string("callback", "write_callback"));
EPOLL_CTL_FAILED In src/dispatch.c:461:
unreal_log(ULOG_ERROR, "io", "EPOLL_CTL_FAILED", NULL,
           "[io] fd_refresh(): epoll_ctl returned error for fd $fd ($fd_description): $system_error",
           log_data_string("system_error", strerror(save_errno)),
           log_data_integer("fd", fd),
           log_data_string("fd_description", fde->desc));
HIGH_LOAD In src/dispatch.c:551:
unreal_log(ULOG_WARNING, "io", "HIGH_LOAD", NULL,
           "HIGH CPU LOAD! fd_select() took $time_msec msec "
           "(read: $num_read_callbacks, write: $num_write_callbacks)",
           log_data_integer("time_msec", tdiff/1000),
           log_data_integer("num_read_callbacks", read_callbacks),
           log_data_integer("num_write_callbacks", write_callbacks));
IDENT_ERROR_MAXCLIENTS In src/modules/ident_lookup.c:104:
unreal_log(ULOG_FATAL, "io", "IDENT_ERROR_MAXCLIENTS", client,
           "Cannot do ident connection for $client.details: All connections in use");
BUG_FD_OPEN_OUT_OF_RANGE In src/fdlist.c:40:
unreal_log(ULOG_ERROR, "io", "BUG_FD_OPEN_OUT_OF_RANGE", NULL,
           "[BUG] trying to add fd $fd to fd table, but MAXCONNECTIONS is $maxconnections",
           log_data_integer("fd", fd),
           log_data_integer("maxconnections", MAXCONNECTIONS));
BUG_FD_CLOSE_OUT_OF_RANGE In src/fdlist.c:100:
unreal_log(ULOG_ERROR, "io", "BUG_FD_CLOSE_OUT_OF_RANGE", NULL,
           "[BUG] trying to close fd $fd to fd table, but MAXCONNECTIONS is $maxconnections",
           log_data_integer("fd", fd),
           log_data_integer("maxconnections", MAXCONNECTIONS));
BUG_FD_CLOSE_NOT_OPEN In src/fdlist.c:113:
unreal_log(ULOG_ERROR, "io", "BUG_FD_CLOSE_NOT_OPEN", NULL,
           "[BUG] trying to close fd $fd to fd table, but FD is (already) closed",
           log_data_integer("fd", fd));
BUG_FD_DESC_OUT_OF_RANGE In src/fdlist.c:194:
unreal_log(ULOG_ERROR, "io", "BUG_FD_DESC_OUT_OF_RANGE", NULL,
           "[BUG] trying to fd_desc fd $fd in fd table, but MAXCONNECTIONS is $maxconnections",
           log_data_integer("fd", fd),
           log_data_integer("maxconnections", MAXCONNECTIONS));
BUG_FD_DESC_NOT_OPEN In src/fdlist.c:207:
unreal_log(ULOG_ERROR, "io", "BUG_FD_DESC_NOT_OPEN", NULL,
           "[BUG] trying to fd_desc fd $fd in fd table, but FD is (already) closed",
           log_data_integer("fd", fd));

join

Event ID Call
REMOTE_CLIENT_JOIN In src/modules/sjoin.c:457:
unreal_log(ULOG_INFO, "join", "REMOTE_CLIENT_JOIN", acptr,
           "User $client joined $channel",
           log_data_channel("channel", channel),
           log_data_string("modes", item_modes));
In src/modules/join.c:284:
unreal_log(ULOG_INFO, "join", "REMOTE_CLIENT_JOIN", client,
           "User $client joined $channel",
           log_data_channel("channel", channel),
           log_data_string("modes", member_modes));
BUG_JOIN_BOUNCEDTIMES In src/modules/join.c:159:
unreal_log(ULOG_ERROR, "join", "BUG_JOIN_BOUNCEDTIMES", NULL,
           "[BUG] join: bouncedtimes is not initialized to zero ($bounced_times)!! "
           "Please report at https://bugs.unrealircd.org/",
           log_data_integer("bounced_times", bouncedtimes));
LOCAL_CLIENT_JOIN In src/modules/join.c:275:
unreal_log(ULOG_INFO, "join", "LOCAL_CLIENT_JOIN", client,
           "User $client joined $channel",
           log_data_channel("channel", channel),
           log_data_string("modes", member_modes));
JOIN_DENIED_FORBIDDEN_CHANNEL In src/modules/join.c:467:
unreal_log(ULOG_INFO, "join", "JOIN_DENIED_FORBIDDEN_CHANNEL", client,
           "Client $client.details tried to join forbidden channel $channel",
           log_data_string("channel", name));

jumpserver

Event ID Call
JUMPSERVER_REPORT In src/modules/jumpserver.c:91:
unreal_log(ULOG_INFO, "jumpserver", "JUMPSERVER_REPORT", NULL,
           "[jumpserver] Redirected $num_clients client(s)",
           log_data_integer("num_clients", count));
JUMPSERVER_DISABLED In src/modules/jumpserver.c:159:
unreal_log(ULOG_INFO, "jumpserver", "JUMPSERVER_DISABLED", client,
           "[jumpserver] $client.details turned jumpserver OFF");
JUMPSERVER_ENABLED In src/modules/jumpserver.c:247:
unreal_log(ULOG_INFO, "jumpserver", "JUMPSERVER_ENABLED", client,
           "[jumpserver] $client.details turned jumpserver ON for $jumpserver_who "
           "to $jumpserver_server:$jumpserver_port "
           "[TLS: $jumpserver_tls_server:$jumpserver_tls_port] "
           "($reason)",
           log_data_string("jumpserver_who", all ? "ALL CLIENTS" : "all new clients"),
           log_data_string("jumpserver_server", jss->server),
           log_data_integer("jumpserver_port", jss->port),
           log_data_string("jumpserver_tls_server", jss->tls_server),
           log_data_integer("jumpserver_tls_port", jss->tls_port),
           log_data_string("reason", jss->reason));
In src/modules/jumpserver.c:259:
unreal_log(ULOG_INFO, "jumpserver", "JUMPSERVER_ENABLED", client,
           "[jumpserver] $client.details turned jumpserver ON for $jumpserver_who "
           "to $jumpserver_server:$jumpserver_port "
           "($reason)",
           log_data_string("jumpserver_who", all ? "ALL CLIENTS" : "all new clients"),
           log_data_string("jumpserver_server", jss->server),
           log_data_integer("jumpserver_port", jss->port),
           log_data_string("reason", jss->reason));

kick

Event ID Call
LOCAL_CLIENT_KICK In src/modules/kick.c:138:
unreal_log(ULOG_INFO, "kick", "LOCAL_CLIENT_KICK", victim,
           "User $client kicked from $channel",
           log_data_channel("channel", channel));
REMOTE_CLIENT_KICK In src/modules/kick.c:142:
unreal_log(ULOG_INFO, "kick", "REMOTE_CLIENT_KICK", victim,
           "User $client kicked from $channel",
           log_data_channel("channel", channel));

kill

Event ID Call
KILL_COMMAND In src/modules/kill.c:141:
unreal_log(ULOG_INFO, "kill", "KILL_COMMAND", client,
           "Client killed: $target.details [by: $client] ($reason)",
           log_data_client("target", target),
           log_data_string("reason", reason));

link

Event ID Call
LINK_ERROR_MESSAGE In src/serv.c:444:
unreal_log(ULOG_ERROR, "link", "LINK_ERROR_MESSAGE", client,
           "Error from $client: $error_message",
           log_data_string("error_message", para),
           client->server->conf ? log_data_link_block(client->server->conf) : NULL);
LINK_DISCONNECTED In src/serv.c:1189:
unreal_log(ULOG_ERROR, "link", "LINK_DISCONNECTED", client,
           "Lost server link to $client [$client.ip]: $tls_error_string",
           log_data_string("tls_error_string", tls_error_string),
           client->server->conf ? log_data_link_block(client->server->conf) : NULL);
In src/serv.c:1195:
unreal_log(ULOG_ERROR, "link", "LINK_DISCONNECTED", client,
           "Lost server link to $client [$client.ip]: $socket_error",
           log_data_socket_error(client->local->fd),
           client->server->conf ? log_data_link_block(client->server->conf) : NULL);
In src/ircd.c:180:
unreal_log(ULOG_ERROR, "link", "LINK_DISCONNECTED", client,
           "Lost server link to $client [$client.ip]: No response (Ping timeout)",
           client->server->conf ? log_data_link_block(client->server->conf) : NULL);
In src/misc.c:599:
unreal_log(ULOG_ERROR, "link", "LINK_DISCONNECTED", client,
           "Lost server link to $client [$client.ip]: $reason",
           log_data_string("reason", comment));
LINK_ERROR_CONNECT In src/serv.c:1208:
unreal_log(ULOG_ERROR, "link", "LINK_ERROR_CONNECT", client,
           client->server->conf->outgoing.file
           ? "Unable to link with server $client [$link_block.file]: $tls_error_string"
           : "Unable to link with server $client [$link_block.ip:$link_block.port]: $tls_error_string",
           log_data_string("tls_error_string", tls_error_string),
           log_data_link_block(client->server->conf));
In src/serv.c:1215:
unreal_log(ULOG_ERROR, "link", "LINK_ERROR_CONNECT", client,
           "Unable to link with server $client: $tls_error_string",
           log_data_string("tls_error_string", tls_error_string));
In src/serv.c:1223:
unreal_log(ULOG_ERROR, "link", "LINK_ERROR_CONNECT", client,
           client->server->conf->outgoing.file
           ? "Unable to link with server $client [$link_block.file]: $socket_error"
           : "Unable to link with server $client [$link_block.ip:$link_block.port]: $socket_error",
           log_data_socket_error(client->local->fd),
           log_data_link_block(client->server->conf));
In src/serv.c:1230:
unreal_log(ULOG_ERROR, "link", "LINK_ERROR_CONNECT", client,
           "Unable to link with server $client: $socket_error",
           log_data_socket_error(client->local->fd));
In src/modules/server.c:2162:
unreal_log(ULOG_ERROR, "link", "LINK_ERROR_CONNECT", client,
           aconf->outgoing.file
           ? "Connect to $client ($link_block.file) failed: $socket_error"
           : "Connect to $client ($link_block.ip:$link_block.port) failed: $socket_error",
           log_data_socket_error(client->local->fd),
           log_data_link_block(aconf));
SERVER_STARTTLS_FAILED In src/serv.c:1244:
unreal_log(ULOG_ERROR, "link", "SERVER_STARTTLS_FAILED", client,
           "Could not link with server $client with TLS enabled. "
           "Please check logs on the other side of the link. "
           "If you insist with insecure linking then you can set link::options::outgoing::insecure "
           "(NOT recommended!).");
BUG_LOST_CONFIGURATION_ON_HANDSHAKE In src/serv.c:1262:
unreal_log(ULOG_ERROR, "link", "BUG_LOST_CONFIGURATION_ON_HANDSHAKE", client,
           "Lost configuration while connecting to $client.details");
STARTTLS_FAILED In src/parse.c:721:
unreal_log(ULOG_WARNING, "link", "STARTTLS_FAILED", client,
           "Switching from plaintext to TLS via STARTTLS failed for server $client, this is unusual. "
           "Please check the other side of the link for errors.");
In src/parse.c:734:
unreal_log(ULOG_WARNING, "link", "STARTTLS_FAILED", client,
           "Switching from plaintext to TLS via STARTTLS failed for server $client, this is unusual.");
LINK_UNRELIABLE In src/ircd.c:205:
unreal_log(ULOG_WARNING, "link", "LINK_UNRELIABLE", client,
           "Warning, no response from $client for $time_delta seconds",
           log_data_integer("time_delta", PINGWARNING),
           client->server->conf ? log_data_link_block(client->server->conf) : NULL);
LINK_DENY_MODULE In src/modules/require-module.c:446:
unreal_log(ULOG_ERROR, "link", "LINK_DENY_MODULE", client,
           "Server $client is using module '$module_name', "
           "which is specified in a deny module { } config block (reason: $ban_reason) -- aborting link",
           log_data_string("module_name", name),
           log_data_string("ban_reason", dmod->reason));
LINK_MISSING_REQUIRED_MODULE In src/modules/require-module.c:465:
unreal_log(ULOG_ERROR, "link", "LINK_MISSING_REQUIRED_MODULE", client,
           "Server $me is missing module '$module_name' which "
           "is required by server $client. -- aborting link",
           log_data_client("me", &me),
           log_data_string("module_name", name));
LINK_MISSING_GLOBAL_MODULE In src/modules/require-module.c:474:
unreal_log(ULOG_WARNING, "link", "LINK_MISSING_GLOBAL_MODULE", client,
           "Server $me is missing module '$module_name', which is "
           "marked as global at $client",
           log_data_client("me", &me),
           log_data_string("module_name", name));
LINK_MODULE_OLD_VERSION In src/modules/require-module.c:491:
unreal_log(ULOG_ERROR, "link", "LINK_MODULE_OLD_VERSION", client,
           "Server $me is using an old version of module '$module_name'. "
           "Server $client requires us to have version $minimum_module_version or later (we have $our_module_version). "
           "-- aborting link",
           log_data_client("me", &me),
           log_data_string("module_name", name),
           log_data_string("minimum_module_version", version),
           log_data_string("our_module_version", mod->header->version));
LINK_DENIED_CHARSYS_INCOMPATIBLE In src/modules/protoctl.c:139:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_CHARSYS_INCOMPATIBLE", client,
           "Server link $client rejected. Server $me_name has utf8 in set::allowed-nickchars but $client does not.",
           log_data_string("me_name", me.name));
LINK_WARNING_CHARSYS In src/modules/protoctl.c:148:
unreal_log(ULOG_WARNING, "link", "LINK_WARNING_CHARSYS", client,
           "Server link $client does not have the same set::allowed-nickchars settings, "
           "this may possibly cause display issues. Our charset: '$our_charsys', theirs: '$their_charsys'",
           log_data_string("our_charsys", charsys_get_current_languages()),
           log_data_string("their_charsys", value));
LINK_DENIED_ALLOWED_CHANNELCHARS_INCOMPATIBLE In src/modules/protoctl.c:171:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_ALLOWED_CHANNELCHARS_INCOMPATIBLE", client,
           "Server link $client rejected. Server has set::allowed-channelchars setting "
           "of $their_allowed_channelchars, while we have $our_allowed_channelchars.\n"
           "Please set set::allowed-channelchars to the same value on all servers.",
           log_data_string("their_allowed_channelchars", value),
           log_data_string("our_allowed_channelchars", allowed_channelchars_valtostr(iConf.allowed_channelchars)));
LINK_DENIED_SID_COLLISION In src/modules/protoctl.c:212:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_SID_COLLISION", client,
           "Server link $client rejected. Server with SID $sid already exist via uplink $existing_client.server.uplink.",
           log_data_string("sid", sid),
           log_data_client("existing_client", aclient));
LINK_DENIED_DUPLICATE_SID In src/modules/protoctl.c:313:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_DUPLICATE_SID", client,
           "Denied server $client: Server with SID $existing_client.id ($existing_client) is already linked.",
           log_data_client("existing_client", aclient));
LINK_DENIED_DUPLICATE_SID_LINKED In src/modules/protoctl.c:323:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_DUPLICATE_SID_LINKED", client,
           "Denied server $client: Server would (later) introduce SID $sid, "
           "but we already have SID $sid linked ($existing_client)\n"
           "Possible race condition, just wait a moment for the network to synchronize...",
           log_data_string("sid", sid),
           log_data_client("existing_client", aclient));
LINK_DENIED_CLOCK_INCORRECT In src/modules/protoctl.c:346:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_CLOCK_INCORRECT", client,
           "Denied server $client: clock on server $client is $time_delta "
           "seconds behind the clock of $me_name.\n"
           "Correct time is very important for IRC servers, "
           "see https://www.unrealircd.org/docs/FAQ#fix-your-clock",
           log_data_integer("time_delta", TStime() - t),
           log_data_string("me_name", me.name));
In src/modules/protoctl.c:359:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_CLOCK_INCORRECT", client,
           "Denied server $client: clock on server $client is $time_delta "
           "seconds ahead the clock of $me_name.\n"
           "Correct time is very important for IRC servers, "
           "see https://www.unrealircd.org/docs/FAQ#fix-your-clock",
           log_data_integer("time_delta", t - TStime()),
           log_data_string("me_name", me.name));
LINK_CONNECT_TIMEOUT In src/modules/server.c:661:
unreal_log(ULOG_INFO, "link", "LINK_CONNECT_TIMEOUT", client,
           "Connect timeout while trying to link to server '$client' ($client.ip)");
LINK_HANDSHAKE_TIMEOUT In src/modules/server.c:672:
unreal_log(ULOG_INFO, "link", "LINK_HANDSHAKE_TIMEOUT", client,
           "Connect handshake timeout while trying to link to server '$client' ($client.ip)");
LINK_DENIED_NO_PASSWORD In src/modules/server.c:847:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_NO_PASSWORD", client,
           "Link with server $client.details denied: No password provided. Protocol error.");
LINK_DENIED_SERVERNAME_MISMATCH In src/modules/server.c:862:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_SERVERNAME_MISMATCH", client,
           "Link with server $client.details denied: "
           "Outgoing connect from link block '$link_block' but server "
           "introduced itself as '$client'. Server name mismatch.",
           log_data_link_block(client->server->conf));
LINK_DENIED_UNKNOWN_SERVER In src/modules/server.c:880:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_UNKNOWN_SERVER", client,
           "Link with server $client.details denied: No link block named '$client'");
LINK_DENIED_NO_INCOMING In src/modules/server.c:888:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_NO_INCOMING", client,
           "Link with server $client.details denied: Link block exists, but there is no link::incoming::match set.",
           log_data_link_block(link));
LINK_DENIED_INCOMING_MASK_MISMATCH In src/modules/server.c:898:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_INCOMING_MASK_MISMATCH", client,
           "Link with server $client.details denied: Server is in link block but link::incoming::mask didn't match",
           log_data_link_block(orig_link));
LINK_DENIED_AUTH_FAILED In src/modules/server.c:919:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_AUTH_FAILED", client,
           "Link with server $client.details denied: Authentication failed: $auth_failure_msg",
           log_data_string("auth_failure_msg", "different password types on both sides of the link\n"
           "Read https://www.unrealircd.org/docs/FAQ#auth-fail-mixed for more information"),
           log_data_link_block(link));
In src/modules/server.c:927:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_AUTH_FAILED", client,
           "Link with server $client.details denied: Authentication failed: $auth_failure_msg",
           log_data_string("auth_failure_msg", "spkifp mismatch"),
           log_data_link_block(link));
In src/modules/server.c:934:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_AUTH_FAILED", client,
           "Link with server $client.details denied: Authentication failed: $auth_failure_msg",
           log_data_string("auth_failure_msg", "tlsclientcert mismatch"),
           log_data_link_block(link));
In src/modules/server.c:941:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_AUTH_FAILED", client,
           "Link with server $client.details denied: Authentication failed: $auth_failure_msg",
           log_data_string("auth_failure_msg", "certfp mismatch"),
           log_data_link_block(link));
In src/modules/server.c:947:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_AUTH_FAILED", client,
           "Link with server $client.details denied: Authentication failed: $auth_failure_msg",
           log_data_string("auth_failure_msg", "bad password"),
           log_data_link_block(link));
LINK_DENIED_VERIFY_CERTIFICATE_FAILED In src/modules/server.c:963:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_VERIFY_CERTIFICATE_FAILED", client,
           "Link with server $client.details denied: verify-certificate failed: $certificate_failure_msg",
           log_data_string("certificate_failure_msg", "not using TLS"),
           log_data_link_block(link));
In src/modules/server.c:972:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_VERIFY_CERTIFICATE_FAILED", client,
           "Link with server $client.details denied: verify-certificate failed: $certificate_failure_msg",
           log_data_string("certificate_failure_msg", errstr),
           log_data_link_block(link));
LINK_DENIED_SERVER_BAN In src/modules/server.c:983:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_SERVER_BAN", client,
           "Link with server $client.details denied: "
           "Server is banned ($ban_reason)",
           log_data_string("ban_reason", bconf->reason),
           log_data_link_block(link));
LINK_DENIED_CLASS_FULL In src/modules/server.c:994:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_CLASS_FULL", client,
           "Link with server $client.details denied: "
           "class '$link_block.class' is full",
           log_data_link_block(link));
LINK_DENIED_NO_TLS In src/modules/server.c:1003:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_NO_TLS", client,
           "Link with server $client.details denied: "
           "Server needs to use TLS (set::plaintext-policy::server is 'deny')\n"
           "See https://www.unrealircd.org/docs/FAQ#server-requires-tls",
           log_data_link_block(link));
LINK_DENIED_OUTDATED_TLS In src/modules/server.c:1013:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_OUTDATED_TLS", client,
           "Link with server $client.details denied: "
           "Server is using an outdated TLS protocol or cipher ($tls_cipher) and set::outdated-tls-policy::server is 'deny'.\n"
           "See https://www.unrealircd.org/docs/FAQ#server-outdated-tls",
           log_data_link_block(link),
           log_data_string("tls_cipher", tls_get_cipher(client)));
LINK_DENIED_SERVER_EXISTS In src/modules/server.c:1030:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_SERVER_EXISTS", client,
           "Link with server $client.details denied: "
           "Server is trying to link with my name ($me_name)",
           log_data_string("me_name", me.name),
           log_data_link_block(link));
LINK_DROPPED_REINTRODUCED In src/modules/server.c:1038:
unreal_log(ULOG_ERROR, "link", "LINK_DROPPED_REINTRODUCED", client,
           "Link with server $client.details causes older link "
           "with same server via $existing_client.server.uplink to be dropped.",
           log_data_client("existing_client", acptr),
           log_data_link_block(link));
LINK_OLD_PROTOCOL In src/modules/server.c:1085:
unreal_log(ULOG_ERROR, "link", "LINK_OLD_PROTOCOL", client,
           "Server link $client tried to introduce $servername using SERVER command. "
           "Server is using an old and unsupported protocol from UnrealIRCd 3.2.x or earlier. "
           "See https://www.unrealircd.org/docs/FAQ#old-server-protocol",
           log_data_string("servername", servername));
In src/modules/server.c:1129:
unreal_log(ULOG_ERROR, "link", "LINK_OLD_PROTOCOL", client,
           "Server link $servername rejected. Server is using an old and unsupported protocol from UnrealIRCd 3.2.x or earlier. "
           "See https://www.unrealircd.org/docs/FAQ#old-server-protocol",
           log_data_string("servername", servername));
LINK_DENIED_INVALID_HOPCOUNT In src/modules/server.c:1141:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_INVALID_HOPCOUNT", client,
           "Server link $servername rejected. Directly linked server provided a hopcount of $hopcount, while 1 was expected.",
           log_data_string("servername", servername),
           log_data_integer("hopcount", hop));
LINK_DENIED_DENY_LINK_BLOCK In src/modules/server.c:1185:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_DENY_LINK_BLOCK", client,
           "Server link $servername rejected by deny link { } block: $reason",
           log_data_string("servername", servername),
           log_data_string("reason", err));
BAD_ULINES In src/modules/server.c:1218:
unreal_log(ULOG_ERROR, "link", "BAD_ULINES", client,
           "Bad ulines! Server $client matches your ulines { } block, but this server "
           "is an UnrealIRCd server. UnrealIRCd servers should never be ulined as it "
           "causes security issues. Ulines should only be added for services! "
           "See https://www.unrealircd.org/docs/FAQ#bad-ulines.");
SERVER_LINKED In src/modules/server.c:1232:
unreal_log(ULOG_INFO, "link", "SERVER_LINKED", client,
           "Server linked: $me -> $client [secure: $tls_cipher]",
           log_data_string("tls_cipher", tls_get_cipher(client)),
           log_data_client("me", &me));
In src/modules/server.c:1240:
unreal_log(ULOG_INFO, "link", "SERVER_LINKED", client,
           "Server linked: $me -> $client",
           log_data_client("me", &me));
LINK_WARNING_NO_TLS In src/modules/server.c:1249:
unreal_log(ULOG_WARNING, "link", "LINK_WARNING_NO_TLS", client,
           "Link with server $client.details is unencrypted (not TLS). "
           "We highly recommend to use TLS for server linking. "
           "See https://www.unrealircd.org/docs/Linking_servers",
           log_data_link_block(aconf));
LINK_WARNING_OUTDATED_TLS In src/modules/server.c:1257:
unreal_log(ULOG_WARNING, "link", "LINK_WARNING_OUTDATED_TLS", client,
           "Link with server $client.details is using an outdated "
           "TLS protocol or cipher ($tls_cipher).",
           log_data_link_block(aconf),
           log_data_string("tls_cipher", tls_get_cipher(client)));
REMOTE_LINK_DENIED_INVALID_SID In src/modules/server.c:1312:
unreal_log(ULOG_ERROR, "link", "REMOTE_LINK_DENIED_INVALID_SID", client,
           "Denied remote server $servername which was introduced by $client: "
           "Invalid SID.",
           log_data_string("servername", servername),
           log_data_string("sid", parv[3]));
REMOTE_LINK_DENIED_DUPLICATE_SERVER_IS_ME In src/modules/server.c:1337:
unreal_log(ULOG_ERROR, "link", "REMOTE_LINK_DENIED_DUPLICATE_SERVER_IS_ME", client,
           "Denied remote server $servername which was introduced by $client: "
           "Server is using our servername, this should be impossible!",
           log_data_string("servername", servername));
REMOTE_LINK_DENIED_DUPLICATE_SERVER In src/modules/server.c:1346:
unreal_log(ULOG_ERROR, "link", "REMOTE_LINK_DENIED_DUPLICATE_SERVER", client,
           "Denied remote server $servername which was introduced by $client: "
           "Already linked via $existing_client.server.uplink.",
           log_data_string("servername", servername),
           log_data_client("existing_client", acptr));
LINK_DENIED_DUPLICATE_SID_SERVER In src/modules/server.c:1363:
unreal_log(ULOG_ERROR, "link", "LINK_DENIED_DUPLICATE_SID_SERVER", client,
           "Denied server $servername with SID $sid: Server with SID $existing_client.id ($existing_client) is already linked.",
           log_data_string("servername", servername),
           log_data_string("sid", parv[3]),
           log_data_client("existing_client", acptr));
REMOTE_LINK_DENIED_SERVER_BAN In src/modules/server.c:1375:
unreal_log(ULOG_ERROR, "link", "REMOTE_LINK_DENIED_SERVER_BAN", client,
           "Denied remote server $servername which was introduced by $client: "
           "Server is banned ($ban_reason)",
           log_data_string("servername", servername),
           log_data_string("ban_reason", bconf->reason));
REMOTE_LINK_DENIED_INVALID_SERVERNAME In src/modules/server.c:1391:
unreal_log(ULOG_ERROR, "link", "REMOTE_LINK_DENIED_INVALID_SERVERNAME", client,
           "Denied remote server $servername which was introduced by $client: "
           "Invalid server name.",
           log_data_string("servername", servername));
REMOTE_LINK_DENIED_INVALID_HOP_COUNT In src/modules/server.c:1402:
unreal_log(ULOG_ERROR, "link", "REMOTE_LINK_DENIED_INVALID_HOP_COUNT", client,
           "Denied remote server $servername which was introduced by $client: "
           "Invalid server name.",
           log_data_string("servername", servername),
           log_data_integer("hop_count", hop));
BUG_LOST_CONFIG In src/modules/server.c:1413:
unreal_log(ULOG_ERROR, "link", "BUG_LOST_CONFIG", client,
           "[BUG] Lost link conf record for link $direction.",
           log_data_client("direction", direction));
REMOTE_LINK_DENIED_NO_HUB In src/modules/server.c:1424:
unreal_log(ULOG_ERROR, "link", "REMOTE_LINK_DENIED_NO_HUB", client,
           "Denied remote server $servername which was introduced by $client: "
           "Server may not introduce this server ($direction is not a hub).",
           log_data_string("servername", servername),
           log_data_client("direction", client->direction));
REMOTE_LINK_DENIED_NO_MATCHING_HUB In src/modules/server.c:1436:
unreal_log(ULOG_ERROR, "link", "REMOTE_LINK_DENIED_NO_MATCHING_HUB", client,
           "Denied remote server $servername which was introduced by $client: "
           "Server may not introduce this server ($direction hubmask does not allow it).",
           log_data_string("servername", servername),
           log_data_client("direction", client->direction));
REMOTE_LINK_DENIED_NO_MATCHING_LEAF In src/modules/server.c:1450:
unreal_log(ULOG_ERROR, "link", "REMOTE_LINK_DENIED_NO_MATCHING_LEAF", client,
           "Denied remote server $servername which was introduced by $client: "
           "Server may not introduce this server ($direction leaf config does not allow it).",
           log_data_string("servername", servername),
           log_data_client("direction", client->direction));
REMOTE_LINK_DENIED_LEAF_DEPTH In src/modules/server.c:1463:
unreal_log(ULOG_ERROR, "link", "REMOTE_LINK_DENIED_LEAF_DEPTH", client,
           "Denied remote server $servername which was introduced by $client: "
           "Server may not introduce this server ($direction leaf depth config does not allow it).",
           log_data_string("servername", servername),
           log_data_client("direction", client->direction));
SERVER_LINKED_REMOTE In src/modules/server.c:1494:
unreal_log(ULOG_INFO, "link", "SERVER_LINKED_REMOTE", acptr,
           "Server linked: $client -> $other_server",
           log_data_client("other_server", client));
HINT_VERIFY_LINK In src/modules/server.c:1729:
unreal_log(ULOG_INFO, "link", "HINT_VERIFY_LINK", client,
           "You may want to consider verifying this server link.\n"
           "More information about this can be found on https://www.unrealircd.org/Link_verification\n"
           "Unfortunately the certificate of server '$client' has a name mismatch:\n"
           "$tls_verify_error\n"
           "This isn't a fatal error but it will prevent you from using verify-certificate yes;
In src/modules/server.c:1740:
unreal_log(ULOG_INFO, "link", "HINT_VERIFY_LINK", client,
           "You may want to consider verifying this server link.\n"
           "More information about this can be found on https://www.unrealircd.org/Link_verification\n"
           "In short: in the configuration file, change the 'link $client {' block to use this as a password:\n"
           "password \"$spki_fingerprint\" { spkifp;
In src/modules/server.c:1750:
unreal_log(ULOG_INFO, "link", "HINT_VERIFY_LINK", client,
           "You may want to consider verifying this server link.\n"
           "More information about this can be found on https://www.unrealircd.org/Link_verification\n"
           "In short: in the configuration file, add the following to your 'link $client {' block:\n"
           "verify-certificate yes;
LINK_ERROR_NO_OUTGOING In src/modules/server.c:1995:
unreal_log(ULOG_ERROR, "link", "LINK_ERROR_NO_OUTGOING", NULL,
           "Connect to $link_block failed: link block is for incoming only (no link::outgoing::hostname or link::outgoing::file set)",
           log_data_link_block(aconf));
LINK_RESOLVING In src/modules/server.c:2031:
unreal_log(ULOG_INFO, "link", "LINK_RESOLVING", NULL,
           "Resolving hostname $link_block.hostname...",
           log_data_link_block(aconf));
LINK_CONNECTING In src/modules/server.c:2078:
unreal_log(ULOG_INFO, "link", "LINK_CONNECTING", client,
           aconf->outgoing.file
           ? "Trying to activate link with server $client ($link_block.file)..."
           : "Trying to activate link with server $client ($link_block.ip:$link_block.port)...",
           log_data_link_block(aconf));
LINK_ERROR_NOIP In src/modules/server.c:2098:
unreal_log(ULOG_ERROR, "link", "LINK_ERROR_NOIP", client,
           "Connect to $client failed: no IP address or file to connect to",
           log_data_link_block(aconf));
LINK_ERROR_MAXCLIENTS In src/modules/server.c:2117:
unreal_log(ULOG_ERROR, "link", "LINK_ERROR_MAXCLIENTS", client,
           "Connect to $client failed: no more sockets available",
           log_data_link_block(aconf));
In src/modules/server.c:2130:
unreal_log(ULOG_ERROR, "link", "LINK_ERROR_MAXCLIENTS", client,
           "Connect to $client failed: no more connections available",
           log_data_link_block(aconf));
LINK_ERROR_SOCKET In src/modules/server.c:2122:
unreal_log(ULOG_ERROR, "link", "LINK_ERROR_SOCKET", client,
           "Connect to $client failed: could not create socket: $socket_error",
           log_data_socket_error(-1),
           log_data_link_block(aconf));
LINK_ERROR_SOCKET_BIND In src/modules/server.c:2147:
unreal_log(ULOG_ERROR, "link", "LINK_ERROR_SOCKET_BIND", client,
           "Connect to $client failed: could not bind socket to $link_block.bind_ip: $socket_error -- "
           "Your link::outgoing::bind-ip is probably incorrect.",
           log_data_socket_error(client->local->fd),
           log_data_link_block(aconf));
LINK_NO_ULINES In src/modules/server.c:2184:
unreal_log(ULOG_ERROR, "link", "LINK_NO_ULINES", client,
           "Server $client is a services server ($software). "
           "However, server $me does not have $client in the ulines { } block, "
           "which is required for services servers. "
           "See https://www.unrealircd.org/docs/Ulines_block",
           log_data_client("me", &me),
           log_data_string("software", client->server->features.software));
SQUIT In src/modules/squit.c:133:
unreal_log(ULOG_INFO, "link", "SQUIT", client,
           "SQUIT: Forced server disconnect of $target by $client ($reason)",
           log_data_client("target", target),
           log_data_string("reason", comment));
In src/modules/squit.c:146:
unreal_log(ULOG_INFO, "link", "SQUIT", client,
           "SQUIT: Forced server disconnect of $target by $client ($reason)",
           log_data_client("target", target),
           log_data_string("reason", comment));
In src/modules/rpc/server.c:338:
unreal_log(ULOG_INFO, "link", "SQUIT", client,
           "SQUIT: Forced server disconnect of $target by $client ($reason)",
           log_data_client("target", target),
           log_data_string("reason", reason));
LINK_REQUEST In src/modules/connect.c:118:
unreal_log(ULOG_INFO, "link", "LINK_REQUEST", client,
           "CONNECT: Link to $link_block requested by $client",
           log_data_link_block(aconf));
In src/modules/rpc/server.c:285:
unreal_log(ULOG_INFO, "link", "LINK_REQUEST", client,
           "CONNECT: Link to $link_block requested by $client",
           log_data_link_block(link));
BAD_UID In src/modules/nick.c:541:
unreal_log(ULOG_ERROR, "link", "BAD_UID", client,
           "Server link $client ($sid) used bad UID $uid in UID command.",
           log_data_string("sid", client->id),
           log_data_string("uid", parv[6]));
BAD_HOSTNAME In src/modules/nick.c:553:
unreal_log(ULOG_ERROR, "link", "BAD_HOSTNAME", client,
           "Server link $client ($client.id) introduced user $nick with bad host name: $bad_hostname.",
           log_data_string("nick", nick),
           log_data_string("bad_hostname", hostname));
In src/modules/nick.c:565:
unreal_log(ULOG_ERROR, "link", "BAD_HOSTNAME", client,
           "Server link $client ($client.id) introduced user $nick with bad virtual hostname: $bad_hostname.",
           log_data_string("nick", nick),
           log_data_string("bad_hostname", virthost));
BAD_IP In src/modules/nick.c:579:
unreal_log(ULOG_ERROR, "link", "BAD_IP", client,
           "Server link $client ($client.id) introduced user $nick with bad IP: $bad_ip.",
           log_data_string("nick", nick),
           log_data_string("bad_ip", ip_raw));
OPER_KILLED_QUARANTINE In src/modules/nick.c:594:
unreal_log(ULOG_INFO, "link", "OPER_KILLED_QUARANTINE", NULL,
           "QUARANTINE: Oper $nick on server $server killed, due to quarantine",
           log_data_string("nick", parv[1]),
           log_data_client("server", client));
LINK_OLD_PROTOCOL_NICK In src/modules/nick.c:751:
unreal_log(ULOG_ERROR, "link", "LINK_OLD_PROTOCOL_NICK", client->direction,
           "Server link $client tried to introduce $nick using NICK command. "
           "Server is using an old and unsupported protocol from UnrealIRCd 3.2.x or earlier, should use the UID command. "
           "See https://www.unrealircd.org/docs/FAQ#old-server-protocol",
           log_data_string("nick", parv[1]));
NETINFO_ALREADY_RECEIVED In src/modules/netinfo.c:85:
unreal_log(ULOG_WARNING, "link", "NETINFO_ALREADY_RECEIVED", client,
           "Got NETINFO from server $client, but we already received it earlier!");
NEW_GLOBAL_RECORD In src/modules/netinfo.c:99:
unreal_log(ULOG_INFO, "link", "NEW_GLOBAL_RECORD", client,
           "Record global users is now $record_global_users (set by server $client)",
           log_data_integer("record_global_users", lmax));
SERVER_SYNCED In src/modules/netinfo.c:104:
unreal_log(ULOG_INFO, "link", "SERVER_SYNCED", client,
           "Link $client -> $me is now synced "
           "[secs: $synced_after_seconds, recv: $received_bytes, sent: $sent_bytes]",
           log_data_client("me", &me),
           log_data_integer("synced_after_seconds", TStime() - endsync),
           log_data_integer("received_bytes", client->local->traffic.bytes_received),
           log_data_integer("sent_bytes", client->local->traffic.bytes_sent));
NETWORK_NAME_MISMATCH In src/modules/netinfo.c:114:
unreal_log(ULOG_WARNING, "link", "NETWORK_NAME_MISMATCH", client,
           "Network name mismatch: server $client has '$their_network_name', "
           "server $me has '$our_network_name'.",
           log_data_client("me", &me),
           log_data_string("their_network_name", parv[8]),
           log_data_string("our_network_name", NETWORK_NAME));
LINK_PROTOCOL_MISMATCH In src/modules/netinfo.c:124:
unreal_log(ULOG_INFO, "link", "LINK_PROTOCOL_MISMATCH", client,
           "Server $client is running UnrealProtocol $their_link_protocol, "
           "server $me uses $our_link_protocol.",
           log_data_client("me", &me),
           log_data_integer("their_link_protocol", protocol),
           log_data_integer("our_link_protocol", UnrealProtocol));
CLOAK_KEY_MISMATCH In src/modules/netinfo.c:134:
unreal_log(ULOG_WARNING, "link", "CLOAK_KEY_MISMATCH", client,
           "Server $client has a DIFFERENT CLOAK KEY (OR METHOD)!!! You should fix this ASAP!\n"
           "When the cloaking configuration is different on servers, this will cause "
           "channel bans on cloaked hosts/IPs not to work correctly, "
           "meaning users can bypass channel bans!");
LINK_ERROR_RESOLVING In src/dns.c:431:
unreal_log(ULOG_ERROR, "link", "LINK_ERROR_RESOLVING", NULL,
           "Unable to resolve hostname $link_block.hostname, when trying to connect to server $link_block.",
           log_data_link_block(r->linkblock));
In src/dns.c:444:
unreal_log(ULOG_ERROR, "link", "LINK_ERROR_RESOLVING", NULL,
           "Unable to resolve hostname $link_block.hostname, when trying to connect to server $link_block.",
           log_data_link_block(r->linkblock));
BUG_LOST_CONFIGURATION_ON_CONNECT In src/socket.c:592:
unreal_log(ULOG_ERROR, "link", "BUG_LOST_CONFIGURATION_ON_CONNECT", client,
           "Lost configuration while connecting to $client.details");
LINK_CLOSING In src/socket.c:979:
unreal_log(ULOG_ERROR, "link", "LINK_CLOSING", to,
           "Link to server $client.details closed: $reason",
           log_data_string("reason", notice));

link-security

Event ID Call
LOCAL_LINK_SECURITY_DOWNGRADED In src/modules/link-security.c:212:
unreal_log(ULOG_INFO, "link-security", "LOCAL_LINK_SECURITY_DOWNGRADED", NULL,
           "Local link-security downgraded from level $previous_level to $new_level due to just linked in server(s)",
           log_data_integer("previous_level", last_local_link_security),
           log_data_integer("new_level", local_link_security));
GLOBAL_LINK_SECURITY_DOWNGRADED In src/modules/link-security.c:221:
unreal_log(ULOG_INFO, "link-security", "GLOBAL_LINK_SECURITY_DOWNGRADED", NULL,
           "Global link-security downgraded from level $previous_level to $new_level due to just linked in server(s)",
           log_data_integer("previous_level", last_global_link_security),
           log_data_integer("new_level", global_link_security));
EFFECTIVE_LINK_SECURITY_REPORT In src/modules/link-security.c:232:
unreal_log(ULOG_INFO, "link-security", "EFFECTIVE_LINK_SECURITY_REPORT", NULL,
           "Effective (network-wide) link-security is now: level $effective_link_security\n"
           "More information about this can be found at https://www.unrealircd.org/docs/Link_security",
           log_data_integer("effective_link_security", effective_link_security));

listen

Event ID Call
LISTEN_ADDED In src/conf.c:9966:
unreal_log(ULOG_INFO, "listen", "LISTEN_ADDED", NULL,
           "UnrealIRCd is now also listening on $listen_ip:$listen_port",
           log_data_string("listen_ip", listener->ip),
           log_data_integer("listen_port", listener->port));
ALL_LISTEN_PORTS_FAILED In src/conf.c:10007:
unreal_log(ULOG_FATAL, "listen", "ALL_LISTEN_PORTS_FAILED", NULL,
           "Unable to listen on any ports. "
           "Most likely UnrealIRCd is already running.");
In src/conf.c:10011:
unreal_log(ULOG_FATAL, "listen", "ALL_LISTEN_PORTS_FAILED", NULL,
           "Unable to listen on any ports. "
           "Please verify that no other process is using the ports. "
           "Also, on some IRCd shells you may have to use listen::bind-ip "
           "with a specific IP assigned to you (rather than \"*\").");
SOME_LISTEN_PORTS_FAILED In src/conf.c:10022:
unreal_log(ULOG_FATAL, "listen", "SOME_LISTEN_PORTS_FAILED", NULL,
           "Unable to listen on all ports (some of them succeeded, some of them failed). "
           "Please verify that no other process is using the port(s). "
           "Also, on some IRCd shells you may have to use listen::bind-ip "
           "with a specific IP assigned to you (rather than \"*\").");
LISTENING In src/conf.c:10042:
unreal_log(ULOG_INFO, "listen", "LISTENING", NULL,
           "UnrealIRCd is now listening on the following addresses/ports:\n"
           "IPv4: $ipv4_port_list\n"
           "IPv6: $ipv6_port_list\n",
           log_data_string("ipv4_port_list", boundmsg_ipv4),
           log_data_string("ipv6_port_list", boundmsg_ipv6));
ACCEPT_ERROR In src/socket.c:116:
unreal_log(ULOG_FATAL, "listen", "ACCEPT_ERROR", NULL, "Cannot accept incoming connection on file $file: $socket_error",
           log_data_socket_error(listener->fd),
           log_data_string("file", listener->file));
In src/socket.c:120:
unreal_log(ULOG_FATAL, "listen", "ACCEPT_ERROR", NULL, "Cannot accept incoming connection on IP \"$listen_ip\" port $listen_port: $socket_error",
           log_data_socket_error(listener->fd),
           log_data_string("listen_ip", listener->ip),
           log_data_integer("listen_port", listener->port));
In src/socket.c:843:
unreal_log(ULOG_ERROR, "listen", "ACCEPT_ERROR", NULL,
           "Failed to accept new client: unable to get IP address: $socket_error",
           log_data_socket_error(fd),
           log_data_string("listen_ip", listener->ip),
           log_data_integer("listen_port", listener->port));
ACCEPT_ERROR_MAXCLIENTS In src/socket.c:144:
unreal_log(ULOG_FATAL, "listen", "ACCEPT_ERROR_MAXCLIENTS", NULL, "Cannot accept incoming connection on file $file: All connections in use",
           log_data_string("file", listener->file));
In src/socket.c:161:
unreal_log(ULOG_FATAL, "listen", "ACCEPT_ERROR_MAXCLIENTS", NULL, "Cannot accept incoming connection on file $file: All connections in use",
           log_data_string("file", listener->file));
In src/socket.c:164:
unreal_log(ULOG_FATAL, "listen", "ACCEPT_ERROR_MAXCLIENTS", NULL, "Cannot accept incoming connection on IP \"$listen_ip\" port $listen_port: All connections in use",
           log_data_string("listen_ip", listener->ip),
           log_data_integer("listen_port", listener->port));
LISTEN_SOCKET_ERROR In src/socket.c:228:
unreal_log(ULOG_FATAL, "listen", "LISTEN_SOCKET_ERROR", NULL,
           "Could not listen on IP \"$listen_ip\" on port $listen_port: $socket_error",
           log_data_socket_error(-1),
           log_data_string("listen_ip", ip),
           log_data_integer("listen_port", port));
In src/socket.c:313:
unreal_log(ULOG_FATAL, "listen", "LISTEN_SOCKET_ERROR", NULL,
           "Could not create UNIX domain socket for $file: $socket_error",
           log_data_socket_error(-1),
           log_data_string("file", listener->file));
LISTEN_ERROR_MAXCLIENTS In src/socket.c:238:
unreal_log(ULOG_FATAL, "listen", "LISTEN_ERROR_MAXCLIENTS", NULL,
           "Could not listen on IP \"$listen_ip\" on port $listen_port: all connections in use",
           log_data_string("listen_ip", ip),
           log_data_integer("listen_port", port));
In src/socket.c:322:
unreal_log(ULOG_FATAL, "listen", "LISTEN_ERROR_MAXCLIENTS", NULL,
           "Could not create UNIX domain socket for $file: all connections in use",
           log_data_string("file", listener->file));
LISTEN_BIND_ERROR In src/socket.c:252:
unreal_log(ULOG_FATAL, "listen", "LISTEN_BIND_ERROR", NULL,
           "Could not listen on IP \"$listen_ip\" on port $listen_port: $socket_error",
           log_data_socket_error(listener->fd),
           log_data_string("listen_ip", ip),
           log_data_integer("listen_port", port));
In src/socket.c:335:
unreal_log(ULOG_FATAL, "listen", "LISTEN_BIND_ERROR", NULL,
           "Could not listen on UNIX domain socket $file: $socket_error",
           log_data_socket_error(listener->fd),
           log_data_string("file", listener->file));
LISTEN_LISTEN_ERROR In src/socket.c:265:
unreal_log(ULOG_FATAL, "listen", "LISTEN_LISTEN_ERROR", NULL,
           "Could not listen on IP \"$listen_ip\" on port $listen_port: $socket_error",
           log_data_socket_error(listener->fd),
           log_data_string("listen_ip", ip),
           log_data_integer("listen_port", port));
In src/socket.c:347:
unreal_log(ULOG_FATAL, "listen", "LISTEN_LISTEN_ERROR", NULL,
           "Could not listen on UNIX domain socket $file: $socket_error",
           log_data_socket_error(listener->fd),
           log_data_string("file", listener->file));
LISTEN_REMOVED In src/socket.c:404:
unreal_log(ULOG_INFO, "listen", "LISTEN_REMOVED", NULL,
           "UnrealIRCd is now no longer listening on $listen_ip:$listen_port",
           log_data_string("listen_ip", listener->ip),
           log_data_integer("listen_port", listener->port));

log

Event ID Call
REMOTE_LOG_INVALID In src/modules/slog.c:128:
unreal_log(ULOG_INFO, "log", "REMOTE_LOG_INVALID", client,
           "Received malformed JSON in server-to-server log message (SLOG) from $client",
           log_data_string("bad_json_serialized", json_incoming));
In src/modules/slog.c:137:
unreal_log(ULOG_INFO, "log", "REMOTE_LOG_INVALID", client,
           "Missing 'msg' in JSON in server-to-server log message (SLOG) from $client",
           log_data_string("bad_json_serialized", json_incoming));
NO_DISK_LOG_BLOCK In src/log.c:1711:
unreal_log(ULOG_WARNING, "log", "NO_DISK_LOG_BLOCK", NULL,
           "No log { } block found that logs to disk -- "
           "logging everything in text format to 'ircd.log'");

main

Event ID Call
SECURITY_GROUP_LOOP_DETECTED In src/securitygroup.c:811:
unreal_log(ULOG_WARNING, "main", "SECURITY_GROUP_LOOP_DETECTED", client,
           "Loop detected while processing security-group '$security_group' -- "
           "are you perhaps referencing a security-group from a security-group?",
           log_data_string("security_group", s->name));
BUG_CLIENTCAPABILITYBIT_UNKNOWN_TOKEN In src/api-clicap.c:94:
unreal_log(ULOG_WARNING, "main", "BUG_CLIENTCAPABILITYBIT_UNKNOWN_TOKEN", NULL,
           "[BUG] ClientCapabilityBit() check for unknown token: $token",
           log_data_string("token", token));
BUG_HUNT_SERVER In src/serv.c:86:
unreal_log(ULOG_ERROR, "main", "BUG_HUNT_SERVER", client,
           "[BUG] hunt_server called with command '$command' but it may not contain "
           "spaces or percentage signs nowadays, it must be ONLY the command.",
           log_data_string("command", command));
UNREALIRCD_STOP In src/serv.c:904:
unreal_log(ULOG_INFO, "main", "UNREALIRCD_STOP", client,
           "Terminating server by request of $client.details");
In src/windows/gui.c:169:
unreal_log(ULOG_INFO, "main", "UNREALIRCD_STOP", NULL,
           "Terminating server (process termination requested or GUI window closed)");
GARBAGE_COLLECT_STARTED In src/ircd.c:48:
unreal_log(ULOG_INFO, "main", "GARBAGE_COLLECT_STARTED", NULL, "Doing garbage collection...");
In src/ircd.c:59:
unreal_log(ULOG_INFO, "main", "GARBAGE_COLLECT_STARTED", NULL, "Cleaned up $count garbage blocks",
           log_data_integer("count", (ii - freelinks)));
UNREALIRCD_START In src/ircd.c:875:
unreal_log(ULOG_INFO, "main", "UNREALIRCD_START", NULL, "UnrealIRCd started.");
BUG_ISTOKEN_REMOTE_CLIENT In src/debug.c:154:
unreal_log(ULOG_ERROR, "main", "BUG_ISTOKEN_REMOTE_CLIENT", client,
           "IsToken($token_value) used on remote client in $file:$line",
           log_data_integer("token_value", flags),
           log_data_string("file", file),
           log_data_integer("line", line));
OUT_OF_MEMORY In src/support.c:798:
unreal_log(ULOG_ERROR, "main", "OUT_OF_MEMORY", NULL,
           "Out of memory while trying to allocate $bytes bytes!",
           log_data_integer("bytes", bytes));
BUG_USERHOST_CHANGED In src/modules/chghost.c:114:
unreal_log(ULOG_ERROR, "main", "BUG_USERHOST_CHANGED", client,
           "[BUG] userhost_changed() was called but without calling userhost_save_current() first! Affected user: $client\n"
           "Please report above bug on https://bugs.unrealircd.org/");
BUG_CAN_SEND_TO_USER_NO_ERRMSG In src/modules/message.c:135:
unreal_log(ULOG_ERROR, "main", "BUG_CAN_SEND_TO_USER_NO_ERRMSG", client,
           "[BUG] Module $module did not set errmsg!!!",
           log_data_string("module", h->owner->header->name));
BUG_CAN_SEND_TO_CHANNEL_NO_ERRMSG In src/modules/message.c:660:
unreal_log(ULOG_ERROR, "main", "BUG_CAN_SEND_TO_CHANNEL_NO_ERRMSG", client,
           "[BUG] Module $module did not set errmsg!!!",
           log_data_string("module", h->owner->header->name));
BUG_REMOVE_DCC_REFERENCES In src/misc.c:403:
unreal_log(ULOG_WARNING, "main", "BUG_REMOVE_DCC_REFERENCES", acptr,
           "[BUG] remove_dcc_references: $client was in dccallowme "
           "list of $existing_client but not in dccallowrem list!",
           log_data_client("existing_client", client));
BUG_LUSERS_OPERS In src/misc.c:697:
unreal_log(ULOG_WARNING, "main", "BUG_LUSERS_OPERS", orig,
           "[BUG] Operator count bug at $where! Value in /LUSERS is $opers, "
           "we counted $counted_opers, "
           "triggered by $client.details on $client.user.servername",
           log_data_integer("opers", irccounts.operators),
           log_data_integer("counted_opers", counted),
           log_data_string("where", tag));
UNREALIRCD_RESTARTING In src/misc.c:2858:
unreal_log(ULOG_INFO, "main", "UNREALIRCD_RESTARTING", NULL,
           "Restarting server: $reason",
           log_data_string("reason", mesg));
BUG_STRIPBADWORDS_PCRE2_MATCH_OOB In src/match.c:713:
unreal_log(ULOG_FATAL, "main", "BUG_STRIPBADWORDS_PCRE2_MATCH_OOB", NULL,
           "[BUG] pcre2_match() returned an ovector with OOB start/end: $start/$end, len $length: '$buf'",
           log_data_integer("start", start),
           log_data_integer("end", end),
           log_data_integer("length", strlen(ptr)),
           log_data_string("buf", ptr));
CURL_INTERNAL_FAILURE In src/url_curl.c:336:
unreal_log(ULOG_ERROR, "main", "CURL_INTERNAL_FAILURE", NULL,
           "Could not initialize curl handle. Maybe out of memory/resources?");

md

Event ID Call
REMOTE_MD_WRITE_DENIED In src/modules/md.c:87:
unreal_log(ULOG_WARNING, "md", "REMOTE_MD_WRITE_DENIED", client,
           "Remote server $client tried to write moddata $moddata_name "
           "of a client from ours ($target.name) -- attempt BLOCKED",
           log_data_string("moddata_name", md->name),
           log_data_client("target", target));

mkpasswd

Event ID Call
MKPASSWD_COMMAND In src/modules/mkpasswd.c:77:
unreal_log(ULOG_INFO, "mkpasswd", "MKPASSWD_COMMAND", client,
           "mkpasswd command used by $client.details");

mode

Event ID Call
USER_MODES_CHANGED In src/api-usermode.c:104:
unreal_log(ULOG_INFO, "mode", "USER_MODES_CHANGED", NULL,
           "User modes changed at runtime: $old_user_modes -> $new_user_modes",
           log_data_string("old_user_modes", previous_umodestring),
           log_data_string("new_user_modes", umodestring));
CHANNEL_MODES_CHANGED In src/api-channelmode.c:142:
unreal_log(ULOG_INFO, "mode", "CHANNEL_MODES_CHANGED", NULL,
           "Channel modes changed at runtime: $old_channel_modes -> $new_channel_modes",
           log_data_string("old_channel_modes", previous_chanmodes),
           log_data_string("new_channel_modes", chanmodes));
PREFIX_CHANGED In src/api-channelmode.c:218:
unreal_log(ULOG_INFO, "mode", "PREFIX_CHANGED", NULL,
           "Prefix changed at runtime: $old_prefix -> $new_prefix",
           log_data_string("old_prefix", previous_prefix),
           log_data_string("new_prefix", prefix));
MODE_TS_IGNORED In src/modules/mode.c:182:
unreal_log(ULOG_INFO, "mode", "MODE_TS_IGNORED", client,
           "MODE change ignored for $channel from $client: "
           "timestamp mismatch, ours=$channel.creationtime, theirs=$their_ts",
           log_data_channel("channel", channel),
           log_data_integer("their_ts", sendts));
MODE_INVALID_TIMESTAMP In src/modules/mode.c:254:
unreal_log(ULOG_WARNING, "mode", "MODE_INVALID_TIMESTAMP", client,
           "MODE for channel $channel has invalid timestamp $send_timestamp (from $client.name)\n"
           "Buffer: $modebuf $parabuf",
           log_data_channel("channel", channel),
           log_data_integer("send_timestamp", sendts),
           log_data_string("modebuf", m?m->modeline[0]:""),
           log_data_string("parabuf", m?m->modeline[0]:""));
MODE_MULTILINE_EXCEEDED In src/modules/mode.c:475:
unreal_log(ULOG_ERROR, "mode", "MODE_MULTILINE_EXCEEDED", client,
           "A mode string caused an avalanche effect of more than $max_multiline_modes modes "
           "in channel $channel. Caused by client $client. Expect a desync.",
           log_data_integer("max_multiline_modes", MAXMULTILINEMODES),
           log_data_channel("channel", channel));
BUG_FIND_MEMBER_LINK_FAILED In src/modules/mode.c:806:
unreal_log(ULOG_ERROR, "mode", "BUG_FIND_MEMBER_LINK_FAILED", target,
           "[BUG] Client $target.details on channel $channel: "
           "found via find_membership_link() but NOT found via find_member_link(). "
           "This should never happen! Please report on https://bugs.unrealircd.org/",
           log_data_client("target", target),
           log_data_channel("channel", channel));
REMOTE_UNKNOWN_CHANNEL_MODE In src/modules/mode.c:930:
unreal_log(ULOG_WARNING, "mode", "REMOTE_UNKNOWN_CHANNEL_MODE", client,
           "Server $client sent us an unknown channel mode $what$mode_character!",
           log_data_string("what", ((what == MODE_ADD) ? "+" : "-")),
           log_data_char("mode_character", mode));
OPER_KILLED_QUARANTINE In src/modules/mode.c:1191:
unreal_log(ULOG_INFO, "mode", "OPER_KILLED_QUARANTINE", client,
           "QUARANTINE: Oper $client.details on server $client.user.servername killed, due to quarantine");

module

Event ID Call
FREEMODOBJ_UNKNOWN_TYPE In src/modules.c:569:
unreal_log(ULOG_FATAL, "module", "FREEMODOBJ_UNKNOWN_TYPE", NULL,
           "[BUG] FreeModObj() called for unknown object (type $type)",
           log_data_integer("type", obj->type));
MODULE_UNLOADING_DELAYED In src/modules.c:1193:
unreal_log(ULOG_INFO, "module", "MODULE_UNLOADING_DELAYED", NULL,
           "Unloading module $module_name (was delayed earlier)",
           log_data_string("module_name", name));
MODULE_UNLOADING In src/modules.c:1210:
unreal_log(ULOG_DEBUG, "module", "MODULE_UNLOADING", NULL,
           "Unloading module $module_name",
           log_data_string("module_name", m->header->name));
BUG_EVENTDELREAL_ZERO In src/api-event.c:118:
unreal_log(ULOG_FATAL, "module", "BUG_EVENTDELREAL_ZERO", NULL,
           "[BUG] EventDelReal called while e->deleted is 0. This cannot happen. Event name: $event_name",
           log_data_string("event_name", e->name));
BUG_EVENTDELREAL_NULL In src/api-event.c:125:
unreal_log(ULOG_FATAL, "module", "BUG_EVENTDELREAL_NULL", NULL,
           "[BUG] EventDelReal called while e->owner is NULL. This cannot happen. Event name: $event_name",
           log_data_string("event_name", e->name));
USER_MODE_OUT_OF_SPACE In src/api-usermode.c:200:
unreal_log(ULOG_ERROR, "module", "USER_MODE_OUT_OF_SPACE", NULL,
           "UmodeAdd: out of space!!!");
CHANNEL_MODE_OUT_OF_SPACE In src/api-channelmode.c:358:
unreal_log(ULOG_ERROR, "module", "CHANNEL_MODE_OUT_OF_SPACE", NULL,
           "CmodeAdd: out of space!!!");
In src/api-channelmode.c:402:
unreal_log(ULOG_ERROR, "module", "CHANNEL_MODE_OUT_OF_SPACE", NULL,
           "CmodeAdd: out of space!!! Place 2.");
CMODEADD_API_ERROR In src/api-channelmode.c:373:
unreal_log(ULOG_ERROR, "module", "CMODEADD_API_ERROR", NULL,
           "CmodeAdd(): module is missing required information. "
           "Module: $module_name",
           log_data_string("module_name", module->header->name));
CLIENTCAPABILITY_OUT_OF_SPACE In src/api-clicap.c:192:
unreal_log(ULOG_ERROR, "module", "CLIENTCAPABILITY_OUT_OF_SPACE", NULL,
           "ClientCapabilityAdd: out of space!!!");
UNLOAD_CLICAP In src/api-clicap.c:236:
unreal_log(ULOG_INFO, "module", "UNLOAD_CLICAP", NULL,
           "Unloading client capability '$token'",
           log_data_string("token", clicap->name));
BUG_TOO_MANY_CLIENTCAPABILITIES In src/api-clicap.c:314:
unreal_log(ULOG_ERROR, "module", "BUG_TOO_MANY_CLIENTCAPABILITIES", NULL,
           "[BUG] clicap_pre_rehash: More than $count caps loaded - this should never happen",
           log_data_integer("count", MAXCLICAPS));
MOD_DATA_OUT_OF_SPACE In src/api-moddata.c:68:
unreal_log(ULOG_ERROR, "module", "MOD_DATA_OUT_OF_SPACE", NULL,
           "ModDataAdd: out of space!!!");
EXTBANADD_API_ERROR In src/api-extban.c:137:
unreal_log(ULOG_ERROR, "module", "EXTBANADD_API_ERROR", NULL,
           "ExtbanAdd(): name must be specified for ban (new in U6). Module: $module_name",
           log_data_string("module_name", module->header->name));
In src/api-extban.c:146:
unreal_log(ULOG_ERROR, "module", "EXTBANADD_API_ERROR", NULL,
           "ExtbanAdd(): module must indicate via .is_banned_events on which BANCHK_* "
           "events to listen on (new in U6). Module: $module_name",
           log_data_string("module_name", module->header->name));
In src/api-extban.c:156:
unreal_log(ULOG_ERROR, "module", "EXTBANADD_API_ERROR", NULL,
           "ExtbanAdd(): module tried to add extban which is not alphanumeric. "
           "Module: $module_name",
           log_data_string("module_name", module->header->name));
In src/api-extban.c:166:
unreal_log(ULOG_ERROR, "module", "EXTBANADD_API_ERROR", NULL,
           "ExtbanAdd(): module tried to add extban with an invalid name ($extban_name). "
           "Module: $module_name",
           log_data_string("module_name", module->header->name),
           log_data_string("extban_name", req.name));
In src/api-extban.c:177:
unreal_log(ULOG_ERROR, "module", "EXTBANADD_API_ERROR", NULL,
           "ExtbanAdd(): conv_param event missing. Module: $module_name",
           log_data_string("module_name", module->header->name));
MESSAGETAGHANDLERADD_API_ERROR In src/api-messagetag.c:55:
unreal_log(ULOG_ERROR, "module", "MESSAGETAGHANDLERADD_API_ERROR", NULL,
           "MessageTagHandlerAdd() from module $module_name: "
           ".flags is set to MTAG_HANDLER_FLAGS_NO_CAP_NEEDED "
           "but a .clicap_handler is passed as well. These options are mutually "
           "exclusive, choose one or the other.",
           log_data_string("module_name", module->header->name));
In src/api-messagetag.c:64:
unreal_log(ULOG_ERROR, "module", "MESSAGETAGHANDLERADD_API_ERROR", NULL,
           "MessageTagHandlerAdd() from module $module_name: "
           "no .clicap_handler is passed. If the "
           "message tag really does not require a cap then you must "
           "set .flags to MTAG_HANDLER_FLAGS_NO_CAP_NEEDED",
           log_data_string("module_name", module->header->name));
UNLOAD_MESSAGE_TAG In src/api-messagetag.c:161:
unreal_log(ULOG_INFO, "module", "UNLOAD_MESSAGE_TAG", NULL,
           "Unloading message-tag handler for '$token'",
           log_data_string("token", m->name));
RPCHANDLERADD_API_ERROR In src/api-rpc.c:40:
unreal_log(ULOG_ERROR, "module", "RPCHANDLERADD_API_ERROR", NULL,
           "RPCHandlerAdd() from module $module_name: "
           "Missing required fields.",
           log_data_string("module_name", module->header->name));
UNLOAD_RPC_HANDLER In src/api-rpc.c:130:
unreal_log(ULOG_INFO, "module", "UNLOAD_RPC_HANDLER", NULL,
           "Unloading RPC handler for '$method'",
           log_data_string("method", m->method));
HISTORYBACKENDADD_API_ERROR In src/api-history-backend.c:69:
unreal_log(ULOG_ERROR, "module", "HISTORYBACKENDADD_API_ERROR", NULL,
           "HistoryBackendAdd(): missing a handler for add/del/request/destroy/set_limit. Module: $module_name",
           log_data_string("module_name", module->header->name));
BUG_EFUNCTIONS_SWITCHOVER In src/api-efunctions.c:325:
unreal_log(ULOG_FATAL, "module", "BUG_EFUNCTIONS_SWITCHOVER", NULL,
           "[BUG] efunctions_switchover(): someone forgot to initialize the function table for efunc $efunction_number",
           log_data_integer("efunction_number", i));
BUG_EFUNC_INIT_FUNCTION_TOO_MANY In src/api-efunctions.c:351:
unreal_log(ULOG_FATAL, "module", "BUG_EFUNC_INIT_FUNCTION_TOO_MANY", NULL,
           "Too many efunctions! ($efunctions_request > $efunctions_max)",
           log_data_integer("efunctions_request", what),
           log_data_integer("efunctions_max", MAXEFUNCTIONS));

monitor

Event ID Call
WATCH_BACKEND_MISSING In src/modules/monitor.c:170:
unreal_log(ULOG_ERROR, "monitor", "WATCH_BACKEND_MISSING", NULL,
           "[monitor] moddata unavailable. Is the 'watch-backend' module loaded?");

nick

Event ID Call
FORCED_NICK_CHANGE In src/modules/svsnick.c:114:
unreal_log(ULOG_INFO, "nick", "FORCED_NICK_CHANGE", acptr,
           "$client.details has been forced to change their nickname to $new_nick_name",
           log_data_string("new_nick_name", nickname));
BAD_NICK_REMOTE In src/modules/nick.c:125:
unreal_log(ULOG_ERROR, "nick", "BAD_NICK_REMOTE", client,
           "Server link $server tried to change '$client' to bad nick '$nick' -- rejected.",
           log_data_string("nick", parv[1]),
           log_data_client("server", client->uplink));
In src/modules/nick.c:527:
unreal_log(ULOG_ERROR, "nick", "BAD_NICK_REMOTE", client->uplink,
           "Server link $client tried to introduce bad nick '$nick' -- rejected.",
           log_data_string("nick", parv[1]));
QLINE_NICK_REMOTE In src/modules/nick.c:142:
unreal_log(ULOG_INFO, "nick", "QLINE_NICK_REMOTE", client,
           "Banned nick $nick used by $client.details, allowed through by server $server ($reason)",
           log_data_string("nick", parv[1]),
           log_data_string("ip", GetIP(client)),
           log_data_client("server", client->uplink),
           log_data_string("reason", tklban->ptr.nameban->reason));
In src/modules/nick.c:604:
unreal_log(ULOG_INFO, "nick", "QLINE_NICK_REMOTE", client,
           "Banned nick $nick [$nick.ip] from server $server ($reason)",
           log_data_string("nick", parv[1]),
           log_data_string("ip", ip),
           log_data_client("server", client->uplink),
           log_data_string("reason", tklban->ptr.nameban->reason));
REMOTE_NICK_CHANGE In src/modules/nick.c:201:
unreal_log(ULOG_INFO, "nick", "REMOTE_NICK_CHANGE", client,
           "Client $client.details has changed their nickname to $new_nick",
           log_data_string("new_nick", nick));
QLINE_NICK_LOCAL_ATTEMPT In src/modules/nick.c:289:
unreal_log(ULOG_INFO, "nick", "QLINE_NICK_LOCAL_ATTEMPT", client,
           "Attempt to use banned nick $nick by $client.details blocked ($reason)",
           log_data_string("nick", parv[1]),
           log_data_string("ip", GetIP(client)),
           log_data_client("server", client->uplink),
           log_data_string("reason", tklban->ptr.nameban->reason));
LOCAL_NICK_CHANGE In src/modules/nick.c:431:
unreal_log(ULOG_INFO, "nick", "LOCAL_NICK_CHANGE", client,
           "Client $client.details has changed their nickname to $new_nick",
           log_data_string("new_nick", nick));
NICK_COLLISION In src/modules/nick.c:1147:
unreal_log(ULOG_ERROR, "nick", "NICK_COLLISION", NULL,
           "Nick collision: "
           "$new_nick[$new_id]@$uplink (new) vs "
           "$existing_client[$existing_client.id]@$existing_client.user.servername (existing). "
           "Winner: $nick_collision_winner. "
           "Cause: $nick_collision_reason",
           log_data_string("new_nick", newnick),
           log_data_string("new_id", newid),
           log_data_client("uplink", cptr),
           log_data_client("existing_client", existing),
           log_data_string("nick_collision_winner", who_won),
           log_data_string("nick_collision_reason", nickcol_reason));

oper

Event ID Call
OPER_SUCCESS In src/modules/oper.c:123:
unreal_log(ULOG_INFO, "oper", "OPER_SUCCESS", client,
           "$client.details is now an IRC Operator [oper-block: $oper_block] [operclass: $operclass]",
           log_data_string("oper_block", operblock_name),
           log_data_string("operclass", operclass));
OPER_FAILED In src/modules/oper.c:213:
unreal_log(ULOG_WARNING, "oper", "OPER_FAILED", client,
           "Failed OPER attempt by $client.details [reason: $reason] [oper-block: $oper_block]",
           log_data_string("reason", "Not using TLS"),
           log_data_string("fail_type", "NO_TLS"),
           log_data_string("oper_block", parv[1]));
In src/modules/oper.c:226:
unreal_log(ULOG_WARNING, "oper", "OPER_FAILED", client,
           "Failed OPER attempt by $client.details [reason: $reason] [oper-block: $oper_block]",
           log_data_string("reason", "Outdated TLS protocol or cipher"),
           log_data_string("fail_type", "OUTDATED_TLS_PROTOCOL_OR_CIPHER"),
           log_data_string("oper_block", parv[1]));
In src/modules/oper.c:238:
unreal_log(ULOG_WARNING, "oper", "OPER_FAILED", client,
           "Failed OPER attempt by $client.details [reason: $reason] [oper-block: $oper_block]",
           log_data_string("reason", "Unknown oper name"),
           log_data_string("fail_type", "UNKNOWN_OPER_NAME"),
           log_data_string("oper_block", parv[1]));
In src/modules/oper.c:254:
unreal_log(ULOG_ERROR, "oper", "OPER_FAILED", client,
           "Failed OPER attempt by $client.details [reason: $reason] [oper-block: $oper_block]",
           log_data_string("reason", "Host does not match"),
           log_data_string("fail_type", "NO_HOST_MATCH"),
           log_data_string("oper_block", parv[1]));
In src/modules/oper.c:269:
unreal_log(ULOG_ERROR, "oper", "OPER_FAILED", client,
           "Failed OPER attempt by $client.details [reason: $reason] [oper-block: $oper_block]",
           log_data_string("reason", "Authentication failed"),
           log_data_string("fail_type", "AUTHENTICATION_FAILED"),
           log_data_string("oper_block", parv[1]));
In src/modules/oper.c:287:
unreal_log(ULOG_WARNING, "oper", "OPER_FAILED", client,
           "Failed OPER attempt by $client.details [reason: $reason] [oper-block: $oper_block]",
           log_data_string("reason", "Not matching oper::require-modes"),
           log_data_string("fail_type", "REQUIRE_MODES_NOT_SATISFIED"),
           log_data_string("oper_block", parv[1]));
In src/modules/oper.c:299:
unreal_log(ULOG_WARNING, "oper", "OPER_FAILED", client,
           "Failed OPER attempt by $client.details [reason: $reason] [oper-block: $oper_block]",
           log_data_string("reason", "Config error: invalid oper::operclass"),
           log_data_string("fail_type", "OPER_OPERCLASS_INVALID"),
           log_data_string("oper_block", parv[1]));
In src/modules/oper.c:312:
unreal_log(ULOG_WARNING, "oper", "OPER_FAILED", client,
           "Failed OPER attempt by $client.details [reason: $reason] [oper-block: $oper_block]",
           log_data_string("reason", "oper::maxlogins limit reached"),
           log_data_string("fail_type", "OPER_MAXLOGINS_LIMIT"),
           log_data_string("oper_block", parv[1]));
OPER_UNSAFE In src/modules/oper.c:340:
unreal_log(ULOG_WARNING, "oper", "OPER_UNSAFE", client,
           "Insecure (non-TLS) connection used to OPER up by $client.details [oper-block: $oper_block]",
           log_data_string("oper_block", parv[1]),
           log_data_string("warn_type", "NO_TLS"));
In src/modules/oper.c:350:
unreal_log(ULOG_WARNING, "oper", "OPER_UNSAFE", client,
           "Outdated TLS protocol/cipher used to OPER up by $client.details [oper-block: $oper_block]",
           log_data_string("oper_block", parv[1]),
           log_data_string("warn_type", "OUTDATED_TLS_PROTOCOL_OR_CIPHER"));

operoverride

Event ID Call
OPEROVERRIDE_INVITE In src/modules/invite.c:283:
unreal_log(ULOG_INFO, "operoverride", "OPEROVERRIDE_INVITE", client,
           "OperOverride: $client.details invited him/herself into $channel (Overriding $override_mode_text)",
           log_data_string("override_type", "join"),
           log_data_string("override_mode", override_mode),
           log_data_string("override_mode_text", override_mode_text),
           log_data_channel("channel", channel));
OPEROVERRIDE_KICK In src/modules/kick.c:64:
unreal_log(ULOG_INFO, "operoverride", "OPEROVERRIDE_KICK", client,
           "OperOverride: $client.details kicked $target from $channel ($reason)",
           log_data_string("override_type", "kick"),
           log_data_string("reason", reason),
           log_data_client("target", target),
           log_data_channel("channel", channel));
OPEROVERRIDE_TOPIC In src/modules/topic.c:67:
unreal_log(ULOG_INFO, "operoverride", "OPEROVERRIDE_TOPIC", client,
           "OperOverride: $client.details changed the topic of $channel to '$topic'",
           log_data_string("override_type", "topic"),
           log_data_string("topic", topic),
           log_data_channel("channel", channel));
OPEROVERRIDE_MODE In src/modules/mode.c:1470:
unreal_log(ULOG_INFO, "operoverride", "OPEROVERRIDE_MODE", client,
           "OperOverride: $client.details changed channel mode of $channel to: $channel_mode",
           log_data_string("override_type", "mode"),
           log_data_string("channel_mode", buf),
           log_data_channel("channel", channel));

part

Event ID Call
LOCAL_CLIENT_PART In src/channel.c:593:
unreal_log(ULOG_INFO, "part", "LOCAL_CLIENT_PART", client,
           "User $client left $channel",
           log_data_channel("channel", channel));
REMOTE_CLIENT_PART In src/channel.c:597:
unreal_log(ULOG_INFO, "part", "REMOTE_CLIENT_PART", client,
           "User $client left $channel",
           log_data_channel("channel", channel));

random

Event ID Call
RANDOM_OUT_OF_BYTES In src/random.c:311:
unreal_log(ULOG_FATAL, "random", "RANDOM_OUT_OF_BYTES", NULL,
           "Could not obtain random bytes, error $tls_error_code",
           log_data_integer("tls_error_code", ERR_get_error()));

reputation

Event ID Call
REPUTATION_FILE_WRITE_ERROR In src/modules/reputation.c:84:
unreal_log(ULOG_ERROR, "reputation", "REPUTATION_FILE_WRITE_ERROR", NULL, \
           "[reputation] Error writing to temporary database file $filename: $system_error", \
           log_data_string("filename", fname), \
           log_data_string("system_error", unrealdb_get_error_string()));
REPUTATION_BENCHMARK In src/modules/reputation.c:490:
unreal_log(ULOG_DEBUG, "reputation", "REPUTATION_BENCHMARK", NULL,
           "[reputation] Benchmark: LOAD DB: $time_msec microseconds",
           log_data_integer("time_msec", ((tv_beta.tv_sec - tv_alpha.tv_sec) * 1000000) + (tv_beta.tv_usec - tv_alpha.tv_usec)));
In src/modules/reputation.c:555:
unreal_log(ULOG_DEBUG, "reputation", "REPUTATION_BENCHMARK", NULL,
           "Reputation benchmark: LOAD DB: $time_msec microseconds",
           log_data_integer("time_msec", ((tv_beta.tv_sec - tv_alpha.tv_sec) * 1000000) + (tv_beta.tv_usec - tv_alpha.tv_usec)));
In src/modules/reputation.c:683:
unreal_log(ULOG_DEBUG, "reputation", "REPUTATION_BENCHMARK", NULL,
           "Reputation benchmark: SAVE DB: $time_msec microseconds",
           log_data_integer("time_msec", ((tv_beta.tv_sec - tv_alpha.tv_sec) * 1000000) + (tv_beta.tv_usec - tv_alpha.tv_usec)));
In src/modules/reputation.c:769:
unreal_log(ULOG_DEBUG, "reputation", "REPUTATION_BENCHMARK", NULL,
           "Reputation benchmark: SAVE DB: $time_msec microseconds",
           log_data_integer("time_msec", ((tv_beta.tv_sec - tv_alpha.tv_sec) * 1000000) + (tv_beta.tv_usec - tv_alpha.tv_usec)));
In src/modules/reputation.c:1001:
unreal_log(ULOG_DEBUG, "reputation", "REPUTATION_BENCHMARK", NULL,
           "Reputation benchmark: EXPIRY IN MEM: $time_msec microseconds",
           log_data_integer("time_msec", ((tv_beta.tv_sec - tv_alpha.tv_sec) * 1000000) + (tv_beta.tv_usec - tv_alpha.tv_usec)));
REPUTATION_TEST In src/modules/reputation.c:705:
unreal_log(ULOG_DEBUG, "reputation", "REPUTATION_TEST", NULL, "Reputation in running in test mode. Saving DB's....");
REPUTATION_EXPIRY In src/modules/reputation.c:987:
unreal_log(ULOG_DEBUG, "reputation", "REPUTATION_EXPIRY", NULL,
           "Deleting expired entry for $ip (score $score, last seen $time_delta seconds ago)",
           log_data_string("ip", e->ip),
           log_data_integer("score", e->score),
           log_data_integer("time_delta", TStime() - e->last_seen));
REPUTATIONUNPERM_COMMAND In src/modules/reputation.c:1022:
unreal_log(ULOG_INFO, "reputation", "REPUTATIONUNPERM_COMMAND", client,
           "$client used /REPUTATIONUNPERM. On next REHASH the module can be RELOADED or UNLOADED. "
           "Note however that for a few minutes the scoring may be skipped, so don't do this too often.");
REPUTATION_DIFFERS In src/modules/reputation.c:1348:
unreal_log(ULOG_DEBUG, "reputation", "REPUTATION_DIFFERS", client,
           "Reputation score for for $ip from $client is $their_score, but we have $score, sending back $score",
           log_data_string("ip", ip),
           log_data_integer("their_score", score),
           log_data_integer("score", e->score));
In src/modules/reputation.c:1361:
unreal_log(ULOG_DEBUG, "reputation", "REPUTATION_DIFFERS", client,
           "Reputation score for for $ip from $client is $their_score, but we have $score, updating our score to $score",
           log_data_string("ip", ip),
           log_data_integer("their_score", score),
           log_data_integer("score", e->score));
REPUTATION_DECREASE In src/modules/reputation.c:1373:
unreal_log(ULOG_DEBUG, "reputation", "REPUTATION_DECREASE", client,
           "Reputation score for for $ip from $client is $score, force-setting to $their_score.",
           log_data_string("ip", ip),
           log_data_integer("their_score", score),
           log_data_integer("score", e->score));
REPUTATION_NEW In src/modules/reputation.c:1387:
unreal_log(ULOG_DEBUG, "reputation", "REPUTATION_NEW", client,
           "Reputation score for for $ip from $client is $their_score, we had no entry, adding it",
           log_data_string("ip", ip),
           log_data_integer("their_score", score),
           log_data_integer("score", 0));

rpc

Event ID Call
RPC_INVALID_JSON In src/modules/rpc/rpc.c:617:
unreal_log(ULOG_INFO, "rpc", "RPC_INVALID_JSON", client,
           "Received unparsable JSON request from $client",
           log_data_string("json_incoming", buf));
RPC_CALL_ERROR In src/modules/rpc/rpc.c:682:
unreal_log(ULOG_INFO, "rpc", "RPC_CALL_ERROR", client,
           "[rpc] Client $client: RPC call $method",
           log_data_string("method", method ? method : "<invalid>"));
BUG_RPC_ERROR_SERIALIZE_FAILED In src/modules/rpc/rpc.c:690:
unreal_log(ULOG_WARNING, "rpc", "BUG_RPC_ERROR_SERIALIZE_FAILED", NULL,
           "[BUG] rpc_error() failed to serialize response "
           "for request from $client ($method)",
           log_data_string("method", method));
RPC_CALL_DEBUG In src/modules/rpc/rpc.c:704:
unreal_log(ULOG_DEBUG, "rpc", "RPC_CALL_DEBUG", client,
           "[rpc] Client $client: RPC result error: $response",
           log_data_string("response", json_serialized));
In src/modules/rpc/rpc.c:753:
unreal_log(ULOG_DEBUG, "rpc", "RPC_CALL_DEBUG", client,
           "[rpc] Client $client: RPC response result: $response",
           log_data_string("response", json_serialized));
In src/modules/rpc/rpc.c:969:
unreal_log(ULOG_DEBUG, "rpc", "RPC_CALL_DEBUG", client,
           "[rpc] Client $client: RPC call: $call",
           log_data_string("call", call));
BUG_RPC_RESPONSE_SERIALIZE_FAILED In src/modules/rpc/rpc.c:739:
unreal_log(ULOG_WARNING, "rpc", "BUG_RPC_RESPONSE_SERIALIZE_FAILED", NULL,
           "[BUG] rpc_response() failed to serialize response "
           "for request from $client ($method)",
           log_data_string("method", method));

sacmds

Event ID Call
SAPART_COMMAND In src/modules/sapart.c:63:
unreal_log(ULOG_INFO, "sacmds", "SAPART_COMMAND", client, "SAPART: $issuer used SAPART to make $target part $channels ($reason)",
           log_data_string("issuer", issuer),
           log_data_client("target", target),
           log_data_string("channels", channels),
           log_data_string("reason", comment));
In src/modules/sapart.c:71:
unreal_log(ULOG_INFO, "sacmds", "SAPART_COMMAND", client, "SAPART: $issuer used SAPART to make $target part $channels",
           log_data_string("issuer", issuer),
           log_data_client("target", target),
           log_data_string("channels", channels));
In src/modules/sapart.c:79:
unreal_log(ULOG_INFO, "sacmds", "SAPART_COMMAND", client, "SAPART: $client used SAPART to make $target part $channels ($reason)",
           log_data_client("target", target),
           log_data_string("channels", channels),
           log_data_string("reason", comment));
In src/modules/sapart.c:86:
unreal_log(ULOG_INFO, "sacmds", "SAPART_COMMAND", client, "SAPART: $client used SAPART to make $target part $channels",
           log_data_client("target", target),
           log_data_string("channels", channels));
SAJOIN_COMMAND In src/modules/sajoin.c:60:
unreal_log(ULOG_INFO, "sacmds", "SAJOIN_COMMAND", client, "SAJOIN: $issuer used SAJOIN to make $target join $channels",
           log_data_string("issuer", issuer),
           log_data_client("target", target),
           log_data_string("channels", channels));
In src/modules/sajoin.c:65:
unreal_log(ULOG_INFO, "sacmds", "SAJOIN_COMMAND", client, "SAJOIN: $client used SAJOIN to make $target join $channels",
           log_data_client("target", target),
           log_data_string("channels", channels));

samode

Event ID Call
SAMODE_COMMAND In src/modules/mode.c:321:
unreal_log(ULOG_INFO, "samode", "SAMODE_COMMAND", orig_client,
           "Client $client used SAMODE $channel ($mode)",
           log_data_channel("channel", channel),
           log_data_string("mode", buf));

sdesc

Event ID Call
SDESC_COMMAND In src/modules/sdesc.c:89:
unreal_log(ULOG_INFO, "sdesc", "SDESC_COMMAND", client,
           "Server description for $server is now '$server.server.info' (changed by $client)",
           log_data_client("server", client->uplink));

send

Event ID Call
SENDBUFTO_ONE_MALFORMED_MSG In src/send.c:238:
unreal_log(ULOG_WARNING, "send", "SENDBUFTO_ONE_MALFORMED_MSG", to,
           "Malformed message to $client: $buf",
           log_data_string("buf", msg));
SENDBUFTO_ONE_OVERSIZED_MSG In src/send.c:245:
unreal_log(ULOG_WARNING, "send", "SENDBUFTO_ONE_OVERSIZED_MSG", to,
           "Oversized message to $client (length $length): $buf",
           log_data_integer("length", p - msg),
           log_data_string("buf", msg));
SENDBUFTO_ONE_OVERSIZED_MSG2 In src/send.c:345:
unreal_log(ULOG_WARNING, "send", "SENDBUFTO_ONE_OVERSIZED_MSG2", to,
           "Oversized message to $client (length $length): $buf",
           log_data_integer("length", len),
           log_data_string("buf", msg));
SENDBUFTO_ONE_ME_MESSAGE In src/send.c:362:
unreal_log(ULOG_WARNING, "send", "SENDBUFTO_ONE_ME_MESSAGE", to,
           "Trying to send data to myself: $buf",
           log_data_string("buf", tmp_msg));

sjoin

Event ID Call
SJOIN_INVALID_TIMESTAMP In src/modules/sjoin.c:208:
unreal_log(ULOG_WARNING, "sjoin", "SJOIN_INVALID_TIMESTAMP", client,
           "SJOIN for channel $channel has invalid timestamp $send_timestamp (from $client)",
           log_data_channel("channel", channel),
           log_data_integer("send_timestamp", ts));
SJOIN_INVALID_SJSBY In src/modules/sjoin.c:356:
unreal_log(ULOG_WARNING, "sjoin", "SJOIN_INVALID_SJSBY", client,
           "SJOIN for channel $channel has invalid SJSBY in item '$item' (from $client)",
           log_data_channel("channel", channel),
           log_data_string("item", s));
In src/modules/sjoin.c:368:
unreal_log(ULOG_WARNING, "sjoin", "SJOIN_INVALID_SJSBY", client,
           "SJOIN for channel $channel has invalid SJSBY in item '$item' (from $client)",
           log_data_channel("channel", channel),
           log_data_string("item", s));
SJOIN_FAKE_DIRECTION In src/modules/sjoin.c:436:
unreal_log(ULOG_WARNING, "sjoin", "SJOIN_FAKE_DIRECTION", client,
           "Fake direction from server $client in SJOIN "
           "for user $existing_client on $existing_client.user.servername "
           "(item: $buf)",
           log_data_client("existing_client", acptr),
           log_data_string("buf", item));
BUG_OVERSIZED_SJOIN In src/modules/sjoin.c:480:
unreal_log(ULOG_ERROR, "sjoin", "BUG_OVERSIZED_SJOIN", client,
           "Oversized SJOIN [$sjoin_place] in channel $channel when adding '$str$str2' to '$buf'",
           log_data_channel("channel", channel),
           log_data_string("sjoin_place", "UID-MEMBER"),
           log_data_string("str", prefix),
           log_data_string("str2", acptr->id),
           log_data_string("buf", uid_buf));
In src/modules/sjoin.c:500:
unreal_log(ULOG_ERROR, "sjoin", "BUG_OVERSIZED_SJOIN", client,
           "Oversized SJOIN [$sjoin_place] in channel $channel when adding '$str$str2' to '$buf'",
           log_data_channel("channel", channel),
           log_data_string("sjoin_place", "SJS-MEMBER"),
           log_data_string("str", prefix),
           log_data_string("str2", acptr->id),
           log_data_string("buf", uid_sjsby_buf));
In src/modules/sjoin.c:562:
unreal_log(ULOG_ERROR, "sjoin", "BUG_OVERSIZED_SJOIN", client,
           "Oversized SJOIN [$sjoin_place] in channel $channel when adding '$str$str2' to '$buf'",
           log_data_channel("channel", channel),
           log_data_string("sjoin_place", "UID-LMODE"),
           log_data_string("str", prefix),
           log_data_string("str2", item),
           log_data_string("buf", uid_buf));
In src/modules/sjoin.c:588:
unreal_log(ULOG_ERROR, "sjoin", "BUG_OVERSIZED_SJOIN", client,
           "Oversized SJOIN [$sjoin_place] in channel $channel when adding '$str' to '$buf'",
           log_data_channel("channel", channel),
           log_data_string("sjoin_place", "SJS-LMODE"),
           log_data_string("str", scratch_buf),
           log_data_string("buf", uid_sjsby_buf));
BUG_SJOIN_CHECK In src/modules/sjoin.c:780:
unreal_log(ULOG_ERROR, "sjoin", "BUG_SJOIN_CHECK", client,
           "[BUG] channel.c:m_sjoin:param diff checker: unknown return value $return_value",
           log_data_integer("return_value", r));

socket

Event ID Call
SOCKET_ERROR_SETSOCKOPTS In src/socket.c:702:
unreal_log(ULOG_WARNING, "socket", "SOCKET_ERROR_SETSOCKOPTS", client,
           "Could not setsockopt(SO_REUSEADDR): $socket_error",
           log_data_socket_error(-1));
In src/socket.c:712:
unreal_log(ULOG_WARNING, "socket", "SOCKET_ERROR_SETSOCKOPTS", client,
           "Could not setsockopt(SO_USELOOPBACK): $socket_error",
           log_data_socket_error(-1));
In src/socket.c:728:
unreal_log(ULOG_WARNING, "socket", "SOCKET_ERROR_SETSOCKOPTS", client,
           "Could not get socket options (F_GETFL): $socket_error",
           log_data_socket_error(-1));
In src/socket.c:737:
unreal_log(ULOG_WARNING, "socket", "SOCKET_ERROR_SETSOCKOPTS", client,
           "Could not get socket options (F_SETFL): $socket_error",
           log_data_socket_error(-1));
In src/socket.c:748:
unreal_log(ULOG_WARNING, "socket", "SOCKET_ERROR_SETSOCKOPTS", client,
           "Could not ioctlsocket FIONBIO: $socket_error",
           log_data_socket_error(-1));

spamreport

Event ID Call
SPAMREPORT_RATE_LIMIT In src/modules/spamreport.c:374:
unreal_log(ULOG_WARNING, "spamreport", "SPAMREPORT_RATE_LIMIT", NULL,
           "[spamreport] Rate limit of $rate_limit_count:$rate_limit_period hit "
           "for block $spamreport_block -- further requests dropped (throttled).",
           log_data_integer("rate_limit_count", spamreport->rate_limit_count),
           log_data_integer("rate_limit_period", spamreport->rate_limit_period),
           log_data_string("spamreport_block", spamreport->name));
SPAMREPORT_TOO_MANY_CONCURRENT_REQUESTS In src/modules/spamreport.c:401:
unreal_log(ULOG_WARNING, "spamreport", "SPAMREPORT_TOO_MANY_CONCURRENT_REQUESTS", NULL,
           "Already $num_requests HTTP(S) requests in progress, new spamreport requests ignored.",
           log_data_integer("num_requests", num));
SPAMREPORT_SEND_REQUEST In src/modules/spamreport.c:464:
unreal_log(ULOG_DEBUG, "spamreport", "SPAMREPORT_SEND_REQUEST", NULL,
           "Calling url '$url' with body '$body'",
           log_data_string("url", url),
           log_data_string("body", (body ? body : "")));

svsmode

Event ID Call
INVALID_SVSMODE In src/modules/svsmode.c:258:
unreal_log(ULOG_WARNING, "svsmode", "INVALID_SVSMODE", client,
           "Invalid SVSMODE for mode '$mode_character' in channel $channel from $client.",
           log_data_char("mode_character", *m),
           log_data_channel("channel", channel));
In src/modules/svsmode.c:266:
unreal_log(ULOG_WARNING, "svsmode", "INVALID_SVSMODE", client,
           "Invalid SVSMODE from $client trying to add '$mode_character' in $channel.",
           log_data_char("mode_character", *m),
           log_data_channel("channel", channel));
SVSMODE_INVALID In src/modules/svsmode.c:408:
unreal_log(ULOG_WARNING, "svsmode", "SVSMODE_INVALID", client,
           "[BUG] Server $client tried to set user mode +H (hidden ircop) "
           "on a user that is not +o (not ircop)! "
           "Please fix your services, or if you think it is our fault, then "
           "report at https://bugs.unrealircd.org/. "
           "Parameters: $para1 $para2. Target: $target.",
           log_data_string("para1", parv[1]),
           log_data_string("para2", parv[2]),
           log_data_client("target", target));

svsmotd

Event ID Call
SVSMOTD_ADDED In src/modules/svsmotd.c:90:
unreal_log(ULOG_INFO, "svsmotd", "SVSMOTD_ADDED", client,
           "Services added '$line' to services motd",
           log_data_string("line", parv[2]));
SVSMOTD_REMOVED In src/modules/svsmotd.c:101:
unreal_log(ULOG_INFO, "svsmotd", "SVSMOTD_REMOVED", client,
           "Services deleted the services motd");

svsnoop

Event ID Call
SVSNOOP_ENABLED In src/modules/svsnoop.c:70:
unreal_log(ULOG_INFO, "svsnoop", "SVSNOOP_ENABLED", client,
           "This server has been placed in NOOP mode (by $client) -- all IRCOp rights disabled");
In src/modules/svsnoop.c:93:
unreal_log(ULOG_INFO, "svsnoop", "SVSNOOP_ENABLED", client,
           "This server is no longer in NOOP mode (by $client) -- IRCOps can oper up again");

system

Event ID Call
SYSTEM_CLOCK_JUMP_BACKWARDS In src/ircd.c:401:
unreal_log(ULOG_WARNING, "system", "SYSTEM_CLOCK_JUMP_BACKWARDS", NULL,
           "System clock jumped back in time ~$time_delta seconds ($time_from -> $time_to)\n"
           "Incorrect time for IRC servers is a serious problem. "
           "Time being set backwards (system clock changed) is "
           "even more serious and can cause clients to freeze, channels to be "
           "taken over, and other issues.\n"
           "Please be sure your clock is always synchronized before the IRCd is started!",
           log_data_integer("time_delta", tdiff),
           log_data_timestamp("time_from", oldtimeofday),
           log_data_timestamp("time_to", timeofday));
SYSTEM_CLOCK_JUMP_FORWARDS In src/ircd.c:417:
unreal_log(ULOG_WARNING, "system", "SYSTEM_CLOCK_JUMP_FORWARDS", NULL,
           "System clock jumped ~$time_delta seconds forward ($time_from -> $time_to)\n"
           "Incorrect time for IRC servers is a serious problem. "
           "Time being adjusted (by changing the system clock) "
           "more than a few seconds forward/backward can lead to serious issues.\n"
           "Please be sure your clock is always synchronized before the IRCd is started!",
           log_data_integer("time_delta", tdiff),
           log_data_timestamp("time_from", oldtimeofday),
           log_data_timestamp("time_to", timeofday));
SYSTEM_CLOCK_JUMP_BACKWARDS_PREVIOUSLY In src/ircd.c:435:
unreal_log(ULOG_WARNING, "system", "SYSTEM_CLOCK_JUMP_BACKWARDS_PREVIOUSLY", NULL,
           "The system clock previously went backwards. Waiting for time to be OK again. This will be in $time_delta seconds.",
           log_data_integer("time_delta", highesttimeofday - timeofday),
           log_data_timestamp("time_from", highesttimeofday),
           log_data_timestamp("time_to", timeofday));

test

Event ID Call
TEST In src/channel.c:1136:
unreal_log(ULOG_INFO, "test", "TEST", "Got %c%c %s",
 *           pm.what == MODE_ADD ? '+' : '-',
 *           pm.modechar,
 *           pm.param ? pm.param : "");
In src/support.c:53:
unreal_log(ULOG_INFO, "test", "TEST", "Got: $name", log_data_string(name));

tkl

Event ID Call
BAN_REALNAME In src/ircd.c:84:
unreal_log(ULOG_INFO, "tkl", "BAN_REALNAME", client,
           "Banned client $client.details due to realname ban: $reason",
           log_data_string("reason", bconf->reason ? bconf->reason : "no reason"));
RMTKL_COMMAND In src/modules/rmtkl.c:292:
unreal_log(ULOG_INFO, "tkl", "RMTKL_COMMAND", client,
           "[rmtkl] $client removed $tkl_removed_count TKLine(s) using /RMTKL",
           log_data_integer("tkl_removed_count", count));
SPAMFILTER_COMPILE_ERROR In src/modules/tkl.c:1035:
unreal_log(ULOG_WARNING, "tkl", "SPAMFILTER_COMPILE_ERROR", NULL,
           "Spamfilter no longer compiles upon utf8 change, error: $error. "
           "Spamfilter '$tkl' ($tkl.reason). "
           "Spamfilter not transformed to/from utf8.",
           log_data_tkl("tkl", tkl),
           log_data_string("error", err ? err : "Unknown"));
SPAMFILTER_UTF8_CONVERTED In src/modules/tkl.c:1048:
unreal_log(ULOG_INFO, "tkl", "SPAMFILTER_UTF8_CONVERTED", NULL,
           "Spamfilter: Recompiled $count spamfilters due to set::spamfilter::utf8 change.",
           log_data_integer("count", converted));
TKL_ADD_TEMPSHUN In src/modules/tkl.c:1229:
unreal_log(ULOG_INFO, "tkl", "TKL_ADD_TEMPSHUN", client,
           "Temporary shun added on user $target.details [reason: $shun_reason] [by: $client]",
           log_data_string("shun_reason", comment),
           log_data_client("target", target));
In src/modules/tkl.c:4965:
unreal_log(ULOG_INFO, "tkl", "TKL_ADD_TEMPSHUN", &me,
           "Temporary shun added on user $target.details [reason: $shun_reason] [by: $client]",
           log_data_string("shun_reason", reason),
           log_data_client("target", client));
TKL_DEL_TEMPSHUN In src/modules/tkl.c:1240:
unreal_log(ULOG_INFO, "tkl", "TKL_DEL_TEMPSHUN", client,
           "Temporary shun removed from user $target.details [by: $client]",
           log_data_client("target", target));
BUG_TKL_DEL_LINE_HASH In src/modules/tkl.c:3019:
unreal_log(ULOG_FATAL, "tkl", "BUG_TKL_DEL_LINE_HASH", NULL,
           "[BUG] [Crash] tkl_del_line() for $tkl (type: $tkl.type_string): "
           "NOT found in tklines_ip_hash. This should never happen!",
           log_data_tkl("tkl", tkl));
TKL_EXPIRE In src/modules/tkl.c:3167:
unreal_log(ULOG_INFO, "tkl", "TKL_EXPIRE", NULL,
           "Expiring $tkl.type_string '$tkl' [reason: $tkl.reason] [by: $tkl.set_by] [duration: $tkl.duration_string]",
           log_data_tkl("tkl", tkl));
In src/modules/tkl.c:3175:
unreal_log(ULOG_INFO, "tkl", "TKL_EXPIRE", NULL,
           "Expiring $tkl.type_string '$tkl' [reason: $tkl.reason] [by: $tkl.set_by] [duration: $tkl.duration_string]",
           log_data_tkl("tkl", tkl));
In src/modules/tkl.c:3182:
unreal_log(ULOG_INFO, "tkl", "TKL_EXPIRE", NULL,
           "Expiring $tkl.type_string '$tkl' [type: $tkl.exception_types] [reason: $tkl.reason] [by: $tkl.set_by] [duration: $tkl.duration_string]",
           log_data_tkl("tkl", tkl));
SPAMFILTER_MATCH In src/modules/tkl.c:3519:
unreal_log(ULOG_INFO, "tkl", "SPAMFILTER_MATCH", client,
           "[Spamfilter] $client.details matches filter '$tkl': [cmd: $command: '$str'] [reason: $tkl.reason] [action: $tkl.ban_action]",
           log_data_tkl("tkl", tkl),
           log_data_string("command", "USER"),
           log_data_string("str", spamfilter_user));
In src/modules/tkl.c:5162:
unreal_log(ULOG_INFO, "tkl", "SPAMFILTER_MATCH", client,
           "[Spamfilter] $client.details matches filter '$tkl': [cmd: $command$_space$destination] [reason: $tkl.reason] [action: $tkl.ban_action]",
           log_data_tkl("tkl", tkl),
           log_data_string("command", cmd),
           log_data_string("_space", destination ? " " : ""),
           log_data_string("destination", destination ? destination : ""));
In src/modules/tkl.c:5169:
unreal_log(ULOG_INFO, "tkl", "SPAMFILTER_MATCH", client,
           "[Spamfilter] $client.details matches filter '$tkl': [cmd: $command$_space$destination: '$str'] [reason: $tkl.reason] [action: $tkl.ban_action]",
           log_data_tkl("tkl", tkl),
           log_data_string("command", cmd),
           log_data_string("_space", destination ? " " : ""),
           log_data_string("destination", destination ? destination : ""),
           log_data_string("str", str));
BUG_TKL_SYNC_SEND_ENTRY In src/modules/tkl.c:4008:
unreal_log(ULOG_FATAL, "tkl", "BUG_TKL_SYNC_SEND_ENTRY", NULL,
           "[BUG] tkl_sync_send_entry() called, but unknown type: $tkl.type_string ($tkl_type_int)",
           log_data_tkl("tkl", tkl),
           log_data_integer("tkl_type_int", typ));
TKL_ADD In src/modules/tkl.c:4168:
unreal_log(ULOG_INFO, "tkl", "TKL_ADD", NULL,
           "$tkl.type_string added: '$tkl' [reason: $tkl.reason] [by: $tkl.set_by] [duration: $tkl.duration_string]",
           log_data_tkl("tkl", tkl));
In src/modules/tkl.c:4174:
unreal_log(ULOG_INFO, "tkl", "TKL_ADD", NULL,
           "$tkl.type_string added: '$tkl' [reason: $tkl.reason] [by: $tkl.set_by] [duration: $tkl.duration_string]",
           log_data_tkl("tkl", tkl));
In src/modules/tkl.c:4180:
unreal_log(ULOG_INFO, "tkl", "TKL_ADD", NULL,
           "Spamfilter added: '$tkl' [type: $tkl.match_type] [targets: $tkl.spamfilter_targets] "
           "[action: $tkl.ban_action] [reason: $tkl.reason] [by: $tkl.set_by]",
           log_data_tkl("tkl", tkl));
In src/modules/tkl.c:4187:
unreal_log(ULOG_INFO, "tkl", "TKL_ADD", NULL,
           "$tkl.type_string added: '$tkl' [types: $tkl.exception_types] [by: $tkl.set_by] [duration: $tkl.duration_string]",
           log_data_tkl("tkl", tkl));
BUG_UNKNOWN_TKL In src/modules/tkl.c:4192:
unreal_log(ULOG_ERROR, "tkl", "BUG_UNKNOWN_TKL", NULL,
           "[BUG] TKL added of unknown type, unhandled in sendnotice_tkl_add()!!!!");
In src/modules/tkl.c:4234:
unreal_log(ULOG_ERROR, "tkl", "BUG_UNKNOWN_TKL", NULL,
           "[BUG] TKL removed of unknown type, unhandled in sendnotice_tkl_del()!!!!");
TKL_DEL In src/modules/tkl.c:4206:
unreal_log(ULOG_INFO, "tkl", "TKL_DEL", NULL,
           "$tkl.type_string removed: '$tkl' [reason: $tkl.reason] [by: $removed_by] [set at: $tkl.set_at_string]",
           log_data_tkl("tkl", tkl),
           log_data_string("removed_by", removed_by));
In src/modules/tkl.c:4213:
unreal_log(ULOG_INFO, "tkl", "TKL_DEL", NULL,
           "$tkl.type_string removed: '$tkl' [reason: $tkl.reason] [by: $removed_by] [set at: $tkl.set_at_string]",
           log_data_tkl("tkl", tkl),
           log_data_string("removed_by", removed_by));
In src/modules/tkl.c:4220:
unreal_log(ULOG_INFO, "tkl", "TKL_DEL", NULL,
           "Spamfilter removed: '$tkl' [type: $tkl.match_type] [targets: $tkl.spamfilter_targets] "
           "[action: $tkl.ban_action] [reason: $tkl.reason] [by: $removed_by] [set at: $tkl.set_at_string]",
           log_data_tkl("tkl", tkl),
           log_data_string("removed_by", removed_by));
In src/modules/tkl.c:4228:
unreal_log(ULOG_INFO, "tkl", "TKL_DEL", NULL,
           "$tkl.type_string removed: '$tkl' [types: $tkl.exception_types] [by: $removed_by] [set at: $tkl.set_at_string]",
           log_data_tkl("tkl", tkl),
           log_data_string("removed_by", removed_by));
TKL_ADD_INVALID In src/modules/tkl.c:4297:
unreal_log(ULOG_WARNING, "tkl", "TKL_ADD_INVALID", client,
        "Invalid TKL entry from $client: "
        "The set-at time is out of range ($set_at). Clock on other server incorrect or bogus entry.",
        log_data_integer("set_at", set_at));
In src/modules/tkl.c:4305:
unreal_log(ULOG_WARNING, "tkl", "TKL_ADD_INVALID", client,
        "Invalid TKL entry from $client: "
        "The expire-at time is out of range ($expire_at). Clock on other server incorrect or bogus entry.",
        log_data_integer("expire_at", expire_at));
In src/modules/tkl.c:4330:
unreal_log(ULOG_WARNING, "tkl", "TKL_ADD_INVALID", client,
        "Invalid TKL entry from $client: "
        "Invalid user@host $usermask@$hostmask",
        log_data_string("usermask", usermask),
        log_data_string("hostmask", hostmask));
In src/modules/tkl.c:4377:
unreal_log(ULOG_WARNING, "tkl", "TKL_ADD_INVALID", client,
        "Invalid TKL entry from $client: "
        "Invalid TKL except user@host $usermask@$hostmask",
        log_data_string("usermask", usermask),
        log_data_string("hostmask", hostmask));
In src/modules/tkl.c:4441:
unreal_log(ULOG_WARNING, "tkl", "TKL_ADD_INVALID", client,
        "Invalid TKL entry from $client: "
        "Spamfilter with too few parameters. Running very old UnrealIRCd protocol (3.2.X?)");
In src/modules/tkl.c:4452:
unreal_log(ULOG_WARNING, "tkl", "TKL_ADD_INVALID", client,
        "Invalid TKL entry from $client: "
        "Spamfilter '$spamfilter_string' has unknown match-type '$spamfilter_type'",
        log_data_string("spamfilter_string", match_string),
        log_data_string("spamfilter_type", parv[10]));
In src/modules/tkl.c:4462:
unreal_log(ULOG_WARNING, "tkl", "TKL_ADD_INVALID", client,
        "Invalid TKL entry from $client: "
        "Spamfilter '$spamfilter_string' has unknown targets '$spamfilter_targets'",
        log_data_string("spamfilter_string", match_string),
        log_data_string("spamfilter_targets", parv[3]));
In src/modules/tkl.c:4472:
unreal_log(ULOG_WARNING, "tkl", "TKL_ADD_INVALID", client,
        "Invalid TKL entry from $client: "
        "Spamfilter '$spamfilter_string' has unknown action '$spamfilter_action'",
        log_data_string("spamfilter_string", match_string),
        log_data_string("spamfilter_action", parv[4]));
In src/modules/tkl.c:4492:
unreal_log(ULOG_WARNING, "tkl", "TKL_ADD_INVALID", client,
        "Invalid TKL entry from $client: "
        "Spamfilter '$spamfilter_string': regex does not compile: $spamfilter_regex_error",
        log_data_string("spamfilter_string", match_string),
        log_data_string("spamfilter_regex_error", err));
TKL_DEL_INVALID In src/modules/tkl.c:4614:
unreal_log(ULOG_WARNING, "tkl", "TKL_DEL_INVALID", client,
        "Invalid TKL deletion request from $client: "
        "Spamfilter with too few parameters. Running very old UnrealIRCd protocol (3.2.X?)");
In src/modules/tkl.c:4628:
unreal_log(ULOG_WARNING, "tkl", "TKL_DEL_INVALID", client,
        "Invalid TKL deletion request from $client: "
        "Spamfilter '$spamfilter_string' has unknown targets '$spamfilter_targets'",
        log_data_string("spamfilter_string", match_string),
        log_data_string("spamfilter_targets", parv[3]));
In src/modules/tkl.c:4638:
unreal_log(ULOG_WARNING, "tkl", "TKL_DEL_INVALID", client,
        "Invalid TKL deletion request from $client: "
        "Spamfilter '$spamfilter_string' has unknown action '$spamfilter_action'",
        log_data_string("spamfilter_string", match_string),
        log_data_string("spamfilter_action", parv[4]));
TAG_CLIENT In src/modules/tkl.c:4829:
unreal_log(ULOG_DEBUG, "tkl", "TAG_CLIENT", client,
           "Client $nick tag $tag is now set to $value",
           log_data_string("tag", tag->name),
           log_data_integer("value", tag->value));
SPAMFILTER_SLOW_FATAL In src/modules/tkl.c:5327:
unreal_log(ULOG_ERROR, "tkl", "SPAMFILTER_SLOW_FATAL", NULL,
           "[Spamfilter] WARNING: Too slow spamfilter detected (took $msec_time msec to execute) "
           "-- spamfilter will be \002REMOVED!\002: $tkl",
           log_data_tkl("tkl", tkl),
           log_data_integer("msec_time", ms_past));
SPAMFILTER_SLOW_WARN In src/modules/tkl.c:5337:
unreal_log(ULOG_WARNING, "tkl", "SPAMFILTER_SLOW_WARN", NULL,
           "[Spamfilter] WARNING: Slow spamfilter detected (took $msec_time msec to execute): $tkl",
           log_data_tkl("tkl", tkl),
           log_data_integer("msec_time", ms_past));

tkldb

Event ID Call
TKLDB_FILE_WRITE_ERROR In src/modules/tkldb.c:60:
unreal_log(ULOG_ERROR, "tkldb", "TKLDB_FILE_WRITE_ERROR", NULL, \
           "[tkldb] Error writing to temporary database file $filename: $system_error", \
           log_data_string("filename", fname), \
           log_data_string("system_error", unrealdb_get_error_string()));
TKLDB_BENCHMARK In src/modules/tkldb.c:786:
unreal_log(ULOG_DEBUG, "tkldb", "TKLDB_BENCHMARK", NULL,
           "[tkldb] Benchmark: LOAD DB: $time_msec microseconds",
           log_data_integer("time_msec", ((tv_beta.tv_sec - tv_alpha.tv_sec) * 1000000) + (tv_beta.tv_usec - tv_alpha.tv_usec)));

tls

Event ID Call
DEBUG_TLS_FATAL_ERROR In src/tls.c:920:
unreal_log(ULOG_DEBUG, "tls", "DEBUG_TLS_FATAL_ERROR", client,
           "Exiting TLS client $client.details: $tls_function: $tls_error_string: $tls_additional_info",
           log_data_string("tls_function", ssl_func),
           log_data_string("tls_error_string", ssl_errstr),
           log_data_string("tls_additional_info", additional_info));
TLS_CERT_EXPIRING In src/tls.c:1422:
unreal_log(ULOG_ERROR, "tls", "TLS_CERT_EXPIRING", NULL,
           "Warning: TLS certificate '$filename': $error_string",
           log_data_string("filename", tlsoptions->certificate_file),
           log_data_string("error_string", errstr));

unreal_server_compat

Event ID Call
USC_REPARSE_SJOIN_FAILURE In src/modules/unreal_server_compat.c:240:
unreal_log(ULOG_WARNING, "unreal_server_compat", "USC_REPARSE_SJOIN_FAILURE", NULL,
           "[unreal_server_compat] usc_reparse_sjoin(): sjoin data '$ban' seemed like a SJSBY but was not??",
           log_data_string("ban", s));
In src/modules/unreal_server_compat.c:251:
unreal_log(ULOG_WARNING, "unreal_server_compat", "USC_REPARSE_SJOIN_FAILURE", NULL,
           "[unreal_server_compat] usc_reparse_sjoin(): ban '$ban' could not be converted",
           log_data_string("ban", s+1));
In src/modules/unreal_server_compat.c:268:
unreal_log(ULOG_WARNING, "unreal_server_compat", "USC_REPARSE_SJOIN_FAILURE", NULL,
           "[unreal_server_compat] usc_reparse_sjoin(): ban '$ban' could not be converted",
           log_data_string("ban", s+1));

unrealdb

Event ID Call
DEBUG_UNREALDB_CACHE_HIT In src/unrealdb.c:325:
unreal_log(ULOG_DEBUG, "unrealdb", "DEBUG_UNREALDB_CACHE_HIT", NULL,
           "Cache hit for '$secret_block' while writing",
           log_data_string("secret_block", secr->name));
In src/unrealdb.c:422:
unreal_log(ULOG_DEBUG, "unrealdb", "DEBUG_UNREALDB_CACHE_HIT", NULL,
           "Cache hit for '$secret_block' while reading",
           log_data_string("secret_block", secr->name));
DEBUG_UNREALDB_CACHE_MISS In src/unrealdb.c:332:
unreal_log(ULOG_DEBUG, "unrealdb", "DEBUG_UNREALDB_CACHE_MISS", NULL,
           "Cache miss for '$secret_block' while writing, need to run argon2",
           log_data_string("secret_block", secr->name));
In src/unrealdb.c:428:
unreal_log(ULOG_DEBUG, "unrealdb", "DEBUG_UNREALDB_CACHE_MISS", NULL,
           "Cache miss for '$secret_block' while reading, need to run argon2",
           log_data_string("secret_block", secr->name));

url

Event ID Call
DEBUG_URL_RESPONSE In src/misc.c:3103:
unreal_log(ULOG_DEBUG, "url", "DEBUG_URL_RESPONSE", NULL,
           "Response for '$url': $response",
           log_data_string("url", url),
           log_data_string("response", memory));
URL_DOWNLOAD_MEMORY In src/url_curl.c:135:
unreal_log(ULOG_ERROR, "url", "URL_DOWNLOAD_MEMORY", NULL, "Async URL callback failed when reading returned data: out of memory?");
In src/url_unreal.c:811:
unreal_log(ULOG_ERROR, "url", "URL_DOWNLOAD_MEMORY", NULL, "Async URL callback failed when reading returned data: out of memory?");
CA_BUNDLE_NOT_FOUND In src/url_unreal.c:347:
unreal_log(ULOG_ERROR, "url", "CA_BUNDLE_NOT_FOUND", NULL,
           "Neither $filename1 nor $filename2 exist.\n"
           "Cannot use built-in https client without curl-ca-bundle.crt\n",
           log_data_string("filename1", buf1),
           log_data_string("filename2", buf2));
HTTPS_NEW_CTX_FAILED In src/url_unreal.c:1206:
unreal_log(ULOG_ERROR, "url", "HTTPS_NEW_CTX_FAILED", NULL,
           "Unable to initialize SSL context");

user

Event ID Call
BUG_DECREASE_IPUSERS_BUCKET In src/hash.c:828:
unreal_log(ULOG_INFO, "user", "BUG_DECREASE_IPUSERS_BUCKET", client,
           "[BUG] decrease_ipusers_bucket() called but bucket is gone for client $client.details");

vhost

Event ID Call
VHOST_FAILED In src/modules/vhost.c:83:
unreal_log(ULOG_WARNING, "vhost", "VHOST_FAILED", client,
           "Failed VHOST attempt by $client.details [reason: $reason] [vhost-block: $vhost_block]",
           log_data_string("reason", "Vhost block not found"),
           log_data_string("fail_type", "UNKNOWN_VHOST_NAME"),
           log_data_string("vhost_block", login));
In src/modules/vhost.c:94:
unreal_log(ULOG_WARNING, "vhost", "VHOST_FAILED", client,
           "Failed VHOST attempt by $client.details [reason: $reason] [vhost-block: $vhost_block]",
           log_data_string("reason", "Host does not match"),
           log_data_string("fail_type", "NO_HOST_MATCH"),
           log_data_string("vhost_block", login));
In src/modules/vhost.c:105:
unreal_log(ULOG_WARNING, "vhost", "VHOST_FAILED", client,
           "Failed VHOST attempt by $client.details [reason: $reason] [vhost-block: $vhost_block]",
           log_data_string("reason", "Authentication failed"),
           log_data_string("fail_type", "AUTHENTICATION_FAILED"),
           log_data_string("vhost_block", login));
VHOST_SUCCESS In src/modules/vhost.c:168:
unreal_log(ULOG_INFO, "vhost", "VHOST_SUCCESS", client,
           "$client.details is now using vhost $virtuser@$virthost [vhost-block: $vhost_block]",
           log_data_string("virtuser", vhost->virtuser),
           log_data_string("virthost", vhost->virthost),
           log_data_string("vhost_block", login));
In src/modules/vhost.c:175:
unreal_log(ULOG_INFO, "vhost", "VHOST_SUCCESS", client,
           "$client.details is now using vhost $virthost [vhost-block: $vhost_block]",
           log_data_string("virthost", vhost->virthost),
           log_data_string("vhost_block", login));

watch

Event ID Call
BUG_WATCH_DEL In src/modules/watch-backend.c:297:
unreal_log(ULOG_WARNING, "watch", "BUG_WATCH_DEL", client,
           "[BUG] watch_del found a watch entry with no client counterpoint, "
           "while processing nick $nick on client $client.details",
           log_data_string("nick", nick));
BUG_WATCH_DEL_LIST In src/modules/watch-backend.c:349:
unreal_log(ULOG_WARNING, "watch", "BUG_WATCH_DEL_LIST", client,
           "[BUG] watch_del_list found a watch entry with no table counterpoint, "
           "while processing client $client.details");
WATCH_BACKEND_MISSING In src/modules/watch.c:156:
unreal_log(ULOG_ERROR, "watch", "WATCH_BACKEND_MISSING", NULL,
           "[watch] moddata unavailable. Is the 'watch-backend' module loaded?");

watch-backend

Event ID Call
BUG_WATCH_FREE_MEMORY_LEAK In src/modules/watch-backend.c:138:
unreal_log(ULOG_ERROR, "watch-backend", "BUG_WATCH_FREE_MEMORY_LEAK", NULL,
           "[BUG] watchList moddata was not freed -- memory leak!");

webserver

Event ID Call
HTTP_BODY_TOO_LARGE In src/modules/webserver.c:528:
unreal_log(ULOG_WARNING, "webserver", "HTTP_BODY_TOO_LARGE", client,
           "[webserver] Client $client: request body too large ($length)",
           log_data_integer("length", newsize));
In src/modules/webserver.c:540:
unreal_log(ULOG_WARNING, "webserver", "HTTP_BODY_TOO_LARGE", client,
           "[webserver] Client $client: request body too large ($length)",
           log_data_integer("length", len+1));
WEB_NEGATIVE_CHUNK In src/modules/webserver.c:665:
unreal_log(ULOG_WARNING, "webserver", "WEB_NEGATIVE_CHUNK", client,
           "Webrequest from $client: Negative chunk encountered");

websocket

Event ID Call
MISSING_PROXY_HEADER In src/modules/webserver.c:750:
unreal_log(ULOG_WARNING, "websocket", "MISSING_PROXY_HEADER", client,
           "Client on proxy $client.ip has matching proxy { } block "
           "but the proxy did not send a valid forwarded header. "
           "The IP of the user is now the proxy IP $client.ip (bad!).");
BUG_WEBSOCKET_OVERFLOW In src/modules/websocket_common.c:386:
unreal_log(ULOG_WARNING, "websocket", "BUG_WEBSOCKET_OVERFLOW", NULL,
           "[BUG] [websocket] Overflow prevented in _websocket_create_packet(): "
           "$bytes_in_sendbuf + $bytes_single_frame > $sendbuf_size",
           log_data_integer("bytes_in_sendbuf", bytes_in_sendbuf),
           log_data_integer("bytes_single_frame", bytes_single_frame),
           log_data_integer("sendbuf_size", sendbufsize));

whowasdb

Event ID Call
WHOWASDB_FILE_WRITE_ERROR In src/modules/whowasdb.c:43:
unreal_log(ULOG_ERROR, "whowasdb", "WHOWASDB_FILE_WRITE_ERROR", NULL, \
           "[whowasdb] Error writing to temporary database file $filename: $system_error", \
           log_data_string("filename", fname), \
           log_data_string("system_error", unrealdb_get_error_string()));
WHOWASDB_READ_RECORD In src/modules/whowasdb.c:595:
unreal_log(ULOG_DEBUG, "whowasdb", "WHOWASDB_READ_RECORD", NULL,
        //           "[whowasdb] Adding '$nick'...",
        //           log_data_string("nick", nick));
WHOWASDB_BENCHMARK In src/modules/whowasdb.c:634:
unreal_log(ULOG_DEBUG, "whowasdb", "WHOWASDB_BENCHMARK", NULL,
           "[whowasdb] Benchmark: LOAD DB: $time_msec microseconds",
           log_data_integer("time_msec", ((tv_beta.tv_sec - tv_alpha.tv_sec) * 1000000) + (tv_beta.tv_usec - tv_alpha.tv_usec)));