/freebsd/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_log.h | 13 * This file provides a log API to RTE applications. 35 uint32_t level; /**< Log level. */ 41 /** Global log information */ 44 /* SDK log type */ 45 #define RTE_LOGTYPE_EAL 0 /**< Log related to eal. */ 46 #define RTE_LOGTYPE_MALLOC 1 /**< Log related to malloc. */ 47 #define RTE_LOGTYPE_RING 2 /**< Log related to ring. */ 48 #define RTE_LOGTYPE_MEMPOOL 3 /**< Log related to mempool. */ 49 #define RTE_LOGTYPE_TIMER 4 /**< Log related to timers. */ 50 #define RTE_LOGTYPE_PMD 5 /**< Log related to poll mode driver. */ [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | LLDBLog.h | 12 #include "lldb/Utility/Log.h" 18 enum class LLDBLog : Log::MaskType { 19 API = Log::ChannelFlag<0>, 20 AST = Log::ChannelFlag<1>, 21 Breakpoints = Log::ChannelFlag<2>, 22 Commands = Log::ChannelFlag<3>, 23 Communication = Log::ChannelFlag<4>, 24 Connection = Log::ChannelFlag<5>, 25 DataFormatters = Log::ChannelFlag<6>, 26 Demangle = Log::ChannelFlag<7>, [all …]
|
H A D | Log.h | 1 //===-- Log.h ---------------------------------------------------*- C++ -*-===// 115 /// A T-style log handler that multiplexes messages to two log handlers. 132 class Log final { 134 /// The underlying type of all log channel enums. Declare them as: 136 /// Channel0 = Log::ChannelFlag<0>, 137 /// Channel1 = Log::ChannelFlag<1>, 146 // Description of a log channel category. 157 std::is_same<Log::MaskType, std::underlying_type_t<Cat>>::value); in Category() 161 // This class describes a log channel. It also encapsulates the behavior 162 // necessary to enable a log channel in an atomic manner. [all …]
|
/freebsd/usr.sbin/newsyslog/ |
H A D | newsyslog.conf | 4 # syslogd process to be signalled when that log file is rotated. This 5 # action is only appropriate for log files which are written to by the 7 # is no process which needs to be signalled when a given log file is 17 /var/log/all.log 600 7 * @T00 J 18 /var/log/auth.log 600 7 1000 @0101T JC 19 /var/log/console.log 600 5 1000 * J 20 /var/log/cron 600 3 1000 * JC 21 /var/log/daemon.log 644 5 1000 @0101T JC 22 /var/log/daily.log 640 7 * @T00 JN 23 /var/log/debug.log 600 7 1000 * JC [all …]
|
H A D | newsyslog.8 | 22 .Nd maintain system log files to manageable sizes 37 When it is executed it archives log files if necessary. 38 If a log file 51 It is also possible to let archived log filenames be created using the 52 time the log file was archived instead of the sequential number using 59 A log can be archived for three reasons: 64 A configured number of hours have elapsed since the log was last 67 This is the specific configured hour for rotation of the log. 92 into which archived log files will be written. 94 it is appended to the path of each log file [all …]
|
H A D | newsyslog.conf.5 | 32 file is used to set log file rotation configuration for the 39 file can also be used to designate secure permissions to log 74 it should be placed before all log file entries in 77 The global compress method applies to all log files flagged as 89 No compression is performed, even when a log file is marked as 100 for all compressible log files. 104 for all compressible log files. 108 for all compressible log files. 112 for all compressible log files. 124 Name of the system log file to be archived, [all …]
|
/freebsd/usr.sbin/syslogd/ |
H A D | syslog.conf | 8 *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages 9 security.* /var/log/security 10 auth.info;authpriv.info /var/log/auth.log 11 mail.info /var/log/maillog 12 cron.* /var/log/cron 14 *.=debug /var/log/debug.log 16 daemon.info /var/log/daemon.log 17 # uncomment this to log all writes to /dev/console to /var/log/console.log 18 # touch /var/log/console.log and chmod it to mode 600 before it will work 19 #console.info /var/log/console.log [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | LLDBLog.cpp | 10 #include "lldb/Utility/Log.h" 16 static constexpr Log::Category g_categories[] = { 17 {{"api"}, {"log API calls and return values"}, LLDBLog::API}, 18 {{"ast"}, {"log AST"}, LLDBLog::AST}, 19 {{"break"}, {"log breakpoints"}, LLDBLog::Breakpoints}, 20 {{"commands"}, {"log command argument parsing"}, LLDBLog::Commands}, 21 {{"comm"}, {"log communication activities"}, LLDBLog::Communication}, 22 {{"conn"}, {"log connection details"}, LLDBLog::Connection}, 24 {"log mangled names to catch demangler crashes"}, 27 {"log shared library related activities"}, [all …]
|
H A D | Log.cpp | 1 //===-- Log.cpp -----------------------------------------------------------===// 9 #include "lldb/Utility/Log.h" 44 llvm::ManagedStatic<Log::ChannelMap> Log::g_channel_map; 46 void Log::ForEachCategory( in ForEachCategory() 47 const Log::ChannelMap::value_type &entry, in ForEachCategory() 55 void Log::ListCategories(llvm::raw_ostream &stream, in ListCategories() 64 Log::MaskType Log::GetFlags(llvm::raw_ostream &stream, in GetFlags() 68 Log::MaskType flags = 0; in GetFlags() 71 flags |= std::numeric_limits<Log::MaskType>::max(); in GetFlags() 79 [&](const Log::Category &c) { in GetFlags() [all …]
|
/freebsd/contrib/ofed/opensm/include/opensm/ |
H A D | osm_log.h | 39 * This object represents the log file. 92 /****h* OpenSM/Log 94 * Log 119 /****s* OpenSM: Log/osm_log_t 144 /****f* OpenSM: Log/osm_get_log_per_module 149 * This looks up the given file ID in the per module log table. 160 * [in] Pointer to a Log object to construct. 166 * The log level from the per module logging structure for this file ID. 169 /****f* OpenSM: Log/osm_set_log_per_module 174 * This sets log level for the given file ID in the per module log table. [all …]
|
/freebsd/contrib/netbsd-tests/ipf/regress/ |
H A D | i19 | 1 block in quick log level user.debug proto icmp all 2 block in quick log level mail.info proto icmp all 3 block in quick log level daemon.notice proto icmp all 4 block in quick log level auth.warn proto icmp all 5 block in quick log level syslog.err proto icmp all 6 block in quick log level lpr.crit proto icmp all 7 block in quick log level news.alert proto icmp all 8 block in quick log level uucp.emerg proto icmp all 9 block in quick log level cron.debug proto icmp all 10 block in quick log level ftp.info proto icmp all [all …]
|
/freebsd/contrib/netbsd-tests/ipf/expected/ |
H A D | i19.dist | 1 block in log level user.debug quick proto icmp from any to any 2 block in log level mail.info quick proto icmp from any to any 3 block in log level daemon.notice quick proto icmp from any to any 4 block in log level auth.warn quick proto icmp from any to any 5 block in log level syslog.err quick proto icmp from any to any 6 block in log level lpr.crit quick proto icmp from any to any 7 block in log level news.alert quick proto icmp from any to any 8 block in log level uucp.emerg quick proto icmp from any to any 9 block in log level cron.debug quick proto icmp from any to any 10 block in log level ftp.info quick proto icmp from any to any [all …]
|
/freebsd/sbin/ipf/ipmon/ |
H A D | ipmon.5 | 12 to do extra actions when it sees a specific log entry from the kernel. 24 attempts to match every line with every log record received. It does 38 match { type = ipf; } do { save("file:///var/log/ipf-log"); }; 49 the current log entry. 51 The lines above would save all ipf log entries to /var/log/ipf-log, send 53 to root for each log entry from the state tables. 56 the type of log entry generated. The full list of fields that can be 60 This option is used to match on log records generated for packets going 69 This option is used to match against the destination port in log entries. 75 actioned in response to an otherwise matching log record from the kernel. [all …]
|
/freebsd/contrib/bmake/mk/ |
H A D | newlog.sh | 4 # newlog - rotate log files 7 # newlog.sh [options] "log"[:"num"] ... 10 # This script saves multiple generations of each "log". 26 # "gens" is a comma separated list of "log":"num" pairs 35 # Each log is saved to a unique name that remains 39 # Format ('%Y%m%d.%H%M%S') for suffix added to "log" to 41 # If a "log" is saved more than once per second we add 45 # -d The "log" to be rotated/saved is a directory. 52 # Set the group of "log" to "group". 55 # Set the mode of "log" ("$NEWLOG_MODE"). [all …]
|
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/man/ |
H A D | db_log.3 | 37 db_log \- log-manager access method 47 A log is represented by the directory, 55 In that directory, the log is stored in one or more files named 56 in the format ``log.YYYY.MM.DD.HH.MM.SS'', where ``YYYY.MM.DD.HH.SS'' 57 is the approximate creation time of the log file, and is guaranteed 61 defaults, and is not further specified by the log access method. 79 The log access method specific data structure provided to 87 The maximum size of a single file in the log. 99 If the log already exists, the values specified for the parameters 101 when the log was created. [all …]
|
/freebsd/contrib/kyua/integration/ |
H A D | global_test.sh | 73 atf_check -s exit:0 test ! -f test.log 74 atf_check -s exit:3 -o empty -e ignore kyua --logfile=test.log 77 atf_check -s exit:0 test -f test.log 79 grep ' E .* No command provided' test.log || atf_fail "Log file does" \ 86 atf_check -s exit:0 test ! -f test.log 87 atf_check -s exit:3 -o empty -e ignore kyua --logfile=test.log 90 atf_check -s exit:0 test -f test.log 92 grep ' E .* No command provided' test.log || atf_fail "Log file does" \ 94 if grep ' D ' test.log; then 95 atf_fail "Log file contains debug messages but it should not" [all …]
|
/freebsd/share/examples/ipfilter/ |
H A D | ipf.conf.restrictive | 7 pass in log quick on lo0 proto icmp from 127.0.0.1/8 to 127.0.0.1/8 with short 8 block in log quick all with short 9 block in log quick all with opt lsrr 10 block in log quick all with opt ssrr 13 pass in log quick on lo0 all 14 pass out log quick on lo0 all 22 block in log body on ed1 all head 100 23 block out log body on ed1 all head 150 25 block in log on fxp0 all head 200 26 block out log on fxp0 all head 250 [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Symbol/ |
H A D | SymbolFileOnDemand.cpp | 49 Log *log = GetLog(); in ParseLanguage() local 50 LLDB_LOG(log, "[{0}] {1} is skipped", GetSymbolFileName(), __FUNCTION__); in ParseLanguage() 51 if (log) { in ParseLanguage() 54 LLDB_LOG(log, "Language {0} would return if hydrated.", langType); in ParseLanguage() 63 Log *log = GetLog(); in ParseXcodeSDK() local 64 LLDB_LOG(log, "[{0}] {1} is skipped", GetSymbolFileName(), __FUNCTION__); in ParseXcodeSDK() 66 if (log) { in ParseXcodeSDK() 69 LLDB_LOG(log, "SDK {0} would return if hydrated.", sdk.GetString()); in ParseXcodeSDK() 128 Log *log = GetLog(); in ParseIsOptimized() local 129 LLDB_LOG(log, "[{0}] {1} is skipped", GetSymbolFileName(), __FUNCTION__); in ParseIsOptimized() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | NativeRegisterContextDBReg_arm64.cpp | 12 #include "lldb/Utility/Log.h" 33 Log *log = GetLog(LLDBLog::Breakpoints); in NumSupportedHardwareBreakpoints() local 36 LLDB_LOG_ERROR(log, std::move(error), in NumSupportedHardwareBreakpoints() 47 Log *log = GetLog(LLDBLog::Breakpoints); in SetHardwareBreakpoint() local 48 LLDB_LOG(log, "addr: {0:x}, size: {1:x}", addr, size); in SetHardwareBreakpoint() 54 log, std::move(error), in SetHardwareBreakpoint() 98 log, std::move(error), in SetHardwareBreakpoint() 108 Log *log = GetLog(LLDBLog::Breakpoints); in ClearHardwareBreakpoint() local 109 LLDB_LOG(log, "hw_idx: {0}", hw_idx); in ClearHardwareBreakpoint() 115 log, std::move(error), in ClearHardwareBreakpoint() [all …]
|
/freebsd/contrib/arm-optimized-routines/math/test/testcases/directed/ |
H A D | log.tst | 1 ; Directed test cases for log 6 func=log op1=7ff80000.00000001 result=7ff80000.00000001 errno=0 7 func=log op1=fff80000.00000001 result=7ff80000.00000001 errno=0 8 func=log op1=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i 9 func=log op1=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i 10 func=log op1=7ff00000.00000000 result=7ff00000.00000000 errno=0 11 func=log op1=fff00000.00000000 result=7ff80000.00000001 errno=EDOM status=i 12 func=log op1=7fefffff.ffffffff result=40862e42.fefa39ef.354 errno=0 13 func=log op1=ffefffff.ffffffff result=7ff80000.00000001 errno=EDOM status=i 14 func=log op1=3ff00000.00000000 result=00000000.00000000 errno=0 [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | ProcessGDBRemoteLog.h | 12 #include "lldb/Utility/Log.h" 18 enum class GDBRLog : Log::MaskType { 19 Async = Log::ChannelFlag<0>, 20 Breakpoints = Log::ChannelFlag<1>, 21 Comm = Log::ChannelFlag<2>, 22 Memory = Log::ChannelFlag<3>, // Log memory reads/writes calls 23 MemoryDataLong = Log::ChannelFlag<4>, // Log all memory reads/writes bytes 24 MemoryDataShort = Log::ChannelFlag<5>, // Log short memory reads/writes bytes 25 Packets = Log::ChannelFlag<6>, 26 Process = Log::ChannelFlag<7>, [all …]
|
/freebsd/crypto/openssl/crypto/ct/ |
H A D | ct_log.c | 22 * Information about a CT log server. 42 /* The context when loading a CT log list from a CONF file. */ 50 * Creates an empty context for loading a CT log store. 56 * Deletes a CT log store load context. 73 /* Converts a log's public key into a SHA256 log ID */ 74 static int ct_v1_log_id_from_pkey(CTLOG *log, EVP_PKEY *pkey) in ct_v1_log_id_from_pkey() argument 86 sha256 = EVP_MD_fetch(log->libctx, "SHA2-256", log->propq); in ct_v1_log_id_from_pkey() 92 ret = EVP_Digest(pkey_der, pkey_der_len, log->log_id, &len, sha256, in ct_v1_log_id_from_pkey() 173 * Otherwise, one bad log entry would stop loading of any of 174 * the following log entries. [all …]
|
/freebsd/contrib/ofed/opensm/include/complib/ |
H A D | cl_log.h | 55 /****h* Component Library/Log Provider 57 * Log Provider 60 * The log provider allows users to log information in a system log instead of 63 /****d* Component Library: Log Provider/cl_log_type_t 69 * different types of log entries. 81 * Indicates a log entry is purely informational. 84 * Indicates a log entry is a warning but non-fatal. 87 * Indicates a log entry is a fatal error. 90 * Log Provider, cl_log_event 93 /****f* Component Library: Log Provider/cl_log_event [all …]
|
/freebsd/contrib/kyua/utils/logging/ |
H A D | operations_test.cpp | 54 ATF_REQUIRE_EQ(fs::path("/some/dir/foobar.20110221-181000.log"), in ATF_TEST_CASE_BODY() 58 logging::log(logging::level_info, "file", 123, "A message"); in ATF_TEST_CASE_BODY() 61 ATF_REQUIRE_EQ(fs::path("/some/dir/foobar.20110221-181000.log"), in ATF_TEST_CASE_BODY() 70 logging::log(logging::level_info, "file", 123, "A message"); in ATF_TEST_CASE_BODY() 72 logging::log(logging::level_info, "file", 123, "A message"); in ATF_TEST_CASE_BODY() 75 ATF_REQUIRE_EQ(fs::path("/some/dir/foobar.20110221-181500.log"), in ATF_TEST_CASE_BODY() 79 logging::log(logging::level_info, "file", 123, "A message"); in ATF_TEST_CASE_BODY() 82 ATF_REQUIRE_EQ(fs::path("/some/dir/foobar.20110221-181500.log"), in ATF_TEST_CASE_BODY() 87 ATF_TEST_CASE_WITHOUT_HEAD(log); 88 ATF_TEST_CASE_BODY(log) in ATF_TEST_CASE_BODY() argument [all …]
|
/freebsd/sys/netinet/tcp_stacks/ |
H A D | rack_pcm.c | 231 union tcp_log_stackspecific log; in rack_update_pcm_ack() local 242 memset(&log, 0, sizeof(log)); in rack_update_pcm_ack() 243 log.u_bbr.timeStamp = tcp_tv_to_usec(&tv); in rack_update_pcm_ack() 244 log.u_bbr.inflight = ctf_flight_size(rack->rc_tp, rack->r_ctl.rc_sacked); in rack_update_pcm_ack() 245 log.u_bbr.flex8 = 1; in rack_update_pcm_ack() 246 log.u_bbr.flex1 = e->sseq; in rack_update_pcm_ack() 247 log.u_bbr.flex2 = e->eseq; in rack_update_pcm_ack() 251 log.u_bbr.flex3 = (uint32_t)(e->ack_time - prev_time); in rack_update_pcm_ack() 253 log.u_bbr.flex3 = 0; in rack_update_pcm_ack() 256 log.u_bbr.flex4 = (uint32_t)(e->ack_time - rack->r_ctl.pcm_i.send_time); in rack_update_pcm_ack() [all …]
|