Home
last modified time | relevance | path

Searched full:log (Results 1 – 25 of 4735) sorted by relevance

12345678910>>...190

/netbsd-src/external/gpl3/binutils/dist/zlib/examples/
H A Dgzlog.c30 Files (log name "foo"):
31 foo.gz -- gzip file with the complete log
36 foo.repairs -- log file for log file recovery operations (not compressed)
83 gain exclusive access to the log files, first a foo.lock file must be
223 - Log the repair with a date stamp in foo.repairs
287 /* internal structure for log information */
289 struct log { struct
292 char *path; /* allocated path, e.g. "/var/log/foo" or "foo" */ argument
348 local int log_lock(struct log *log) in log_lock() argument
353 strcpy(log->end, ".lock"); in log_lock()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/zlib/examples/
H A Dgzlog.c30 Files (log name "foo"):
31 foo.gz -- gzip file with the complete log
36 foo.repairs -- log file for log file recovery operations (not compressed)
83 gain exclusive access to the log files, first a foo.lock file must be
223 - Log the repair with a date stamp in foo.repairs
287 /* internal structure for log information */
289 struct log { struct
292 char *path; /* allocated path, e.g. "/var/log/foo" or "foo" */ argument
348 local int log_lock(struct log *log) in log_lock() argument
353 strcpy(log->end, ".lock"); in log_lock()
[all …]
/netbsd-src/external/gpl3/gdb/dist/zlib/examples/
H A Dgzlog.c30 Files (log name "foo"):
31 foo.gz -- gzip file with the complete log
36 foo.repairs -- log file for log file recovery operations (not compressed)
83 gain exclusive access to the log files, first a foo.lock file must be
223 - Log the repair with a date stamp in foo.repairs
287 /* internal structure for log information */
289 struct log { struct
292 char *path; /* allocated path, e.g. "/var/log/foo" or "foo" */ argument
348 local int log_lock(struct log *log) in log_lock() argument
353 strcpy(log->end, ".lock"); in log_lock()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/uc/
H A Dintel_guc_log.c18 static void guc_log_capture_logs(struct intel_guc_log *log);
21 * DOC: GuC firmware log
23 * Firmware log is enabled by setting i915.guc_log_level to the positive level.
24 * Log data is printed out via reading debugfs i915_guc_log_dump. Reading from
63 static inline struct intel_guc *log_to_guc(struct intel_guc_log *log) in log_to_guc() argument
65 return container_of(log, struct intel_guc, log); in log_to_guc()
68 static void guc_log_enable_flush_events(struct intel_guc_log *log) in guc_log_enable_flush_events() argument
70 intel_guc_enable_msg(log_to_guc(log), in guc_log_enable_flush_events()
75 static void guc_log_disable_flush_events(struct intel_guc_log *log) in guc_log_disable_flush_events() argument
77 intel_guc_disable_msg(log_to_guc(log), in guc_log_disable_flush_events()
[all …]
/netbsd-src/external/bsd/elftosb/dist/sbtool/
H A Dsbtool.cpp57 -V/--verbose Print extra detailed log information\n\n";
109 Log::setLogger(m_logger); in sbtool()
170 Log::getLogger()->setFilterLevel(Logger::WARNING); in processOptions()
174 Log::getLogger()->setFilterLevel(Logger::DEBUG); in processOptions()
178 Log::getLogger()->setFilterLevel(Logger::WARNING); in processOptions()
186 Log::log(Logger::ERROR, "error: unrecognized option\n\n"); in processOptions()
195 // Log::SetOutputLevel leveler(Logger::DEBUG); in processOptions()
196 // Log::log("positional args:\n"); in processOptions()
200 // Log::log("%d: %s\n", i - iter.index(), m_argv[i]); in processOptions()
247 Log::log(Logger::ERROR, "error: %s\n", e.what()); in run()
[all …]
/netbsd-src/external/bsd/unbound/dist/testdata/padding.tdir/
H A Dpadding.test19 cat tap.log
21 cat fwd.log
22 cat unbound2.log
23 cat unbound.log
28 echo "> wait for log to happen on timer"
30 echo "> check tap.log for dnstap info"
31 # see if it logged the information in tap.log
33 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
34 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
35 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
[all …]
/netbsd-src/external/bsd/ipf/dist/perl/
H A Dlogfilter.pl6 # This script takes a firewall log and breaks it into several
8 # runs on the port that was recognized in log line. After
10 # Of course you will have the original log file and then files
11 # such as web.log, telnet.log, pop3.log, imap.log, backorifice.log,
12 # netbus.log, and unknown.log.
14 # The number of entries in unknown.log should be minimal. The
31 $TIDBITSFILE = "unknown.log";
51 unless (defined($filename)) { die "Usage: logfilter.pl <log file>\n"; }
52 open(LOGFILE, $filename) || die "Could not open the firewall log file.\n";
61 # determine the protocol - send to unknown.log if not found
[all …]
/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dlog-buffer.c13 __RCSID("$NetBSD: log-buffer.c,v 1.2 2016/05/17 14:00:09 christos Exp $");
24 /* We want to be able to log data sent between us and the server. We
25 do it using log buffers. Each log buffer has another buffer which
26 handles the actual I/O, and a file to log information to.
28 This structure is the closure field of a log buffer. */
34 /* The file to log information to. */
35 FILE *log; member
38 /* Whether errors writing to the log file should be fatal or not. */
49 /* The memory buffer (cache) backing this log. */
65 /* Force the existance of lb->log.
[all …]
/netbsd-src/external/bsd/unbound/dist/testdata/ipset.tdir/
H A Dipset.test18 cat fwd.log
19 cat unbound.log
24 if grep "ipset: add 1.1.1.1 to atotallymadeupnamefor4 for www.example.net." unbound.log; then
28 cat fwd.log
29 cat unbound.log
41 cat fwd.log
42 cat unbound.log
47 if grep "ipset: add ::1 to atotallymadeupnamefor6 for www.example.net." unbound.log; then
51 cat fwd.log
52 cat unbound.log
[all …]
/netbsd-src/usr.bin/newsyslog/
H A Dnewsyslog.c52 * newsyslog(8) - a program to roll over log files provided that specified
53 * critera are met, optionally preserving a number of historical log files.
93 #define CE_CREATE 0x08 /* Create log file if none exists */
95 #define CE_SYSLPROTOCOL 0x20 /* log in syslog-protocol format,
97 #define CE_NOEMPTY 0x40 /* Do not rotate empty log file */
100 uid_t uid; /* Owner of log */
101 gid_t gid; /* Group of log */
104 size_t maxsize; /* Maximum log size */
105 int maxage; /* Hours between log trimming */
110 char logfile[MAXPATHLEN]; /* Path to log file */
[all …]
/netbsd-src/external/bsd/unbound/dist/testdata/dnstap_reconnect.tdir/
H A Ddnstap_reconnect.test18 cat tap.log
20 cat fwd.log
21 cat unbound.log
26 echo "> check tap.log for dnstap info"
27 # see if it logged the information in tap.log
29 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
30 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
31 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
32 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 10; fi
33 if grep "www.example.com" tap.log; then echo "yes it is in tap.log";
[all …]
/netbsd-src/external/bsd/unbound/dist/testdata/dnstap.tdir/
H A Ddnstap.test18 cat tap.log
20 cat fwd.log
21 cat unbound.log
26 echo "> wait for log to happen on timer"
28 echo "> check tap.log for dnstap info"
29 # see if it logged the information in tap.log
31 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
32 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
33 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
34 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
[all …]
/netbsd-src/external/bsd/unbound/dist/testdata/dnstap_tls.tdir/
H A Ddnstap_tls.test18 cat tap.log
20 cat fwd.log
21 cat unbound.log
26 echo "> check tap.log for dnstap info"
27 # see if it logged the information in tap.log
29 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
30 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
31 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
32 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
33 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
[all …]
/netbsd-src/external/bsd/unbound/dist/testdata/dnstap_tcp.tdir/
H A Ddnstap_tcp.test18 cat tap.log
20 cat fwd.log
21 cat unbound.log
26 echo "> check tap.log for dnstap info"
27 # see if it logged the information in tap.log
29 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
30 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
31 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
32 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
33 if grep "www.example.com" tap.log >/dev/null; then :; else sleep 1; fi
[all …]
/netbsd-src/external/gpl2/lvm2/dist/scripts/
H A Dlvm_dump.sh90 log="$dir/lvmdump.log"
94 echo "$@" >> "$log"
97 log() { function
98 echo "$@" >> "$log"
119 log "\"$LVM\" vgscan -vvvv > \"$dir/vgscan\" 2>&1"
122 log "\"$LVM\" pvscan -v >> \"$dir/pvscan\" 2>> \"$log\""
125 log "\"$LVM\" lvs -a -o +devices >> \"$dir/lvs\" 2>> \"$log\""
128 log "\"$LVM\" pvs -a -v > \"$dir/pvs\" 2>> \"$log\""
131 log "\"$LVM\" vgs -v > \"$dir/vgs\" 2>> \"$log\""
141 log "cman_tool $i 2>> \"$log\""
[all …]
/netbsd-src/tests/ipf/regress/
H A Di191 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 …]
/netbsd-src/tests/ipf/expected/
H A Di19.dist1 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 …]
/netbsd-src/share/examples/syslogd/
H A Dall.debug8 # chmod go= /var/log/authpriv
10 auth.debug /var/log/auth
11 authpriv.debug /var/log/authpriv
12 cron.debug /var/log/cron
13 daemon.debug /var/log/daemon
14 ftp.debug /var/log/ftp
15 kern.debug /var/log/kern
16 lpr.debug /var/log/lpr
17 mail.debug /var/log/mail
18 news.debug /var/log/news
[all …]
/netbsd-src/external/bsd/elftosb/dist/common/
H A DLogging.h18 * there is the filter level. Any log message that is assigned a level
20 * current output level. Log messages that do not have their own level
29 * Most use of the logger classes is expected to be through the Log
31 * singleton logger instance. There is also a Log::SetOutputLevel utility
35 * Of all the overloaded log() methods in this class, none of them are
38 * The other log methods all wind up calling _log(), so it provides a
42 * \see Log
53 INFO, //!< The normal log level, for status messages.
56 DEBUG2 //!< Highest log level; verbose debug logging.
83 //! \brief Log with format.
[all …]
/netbsd-src/external/bsd/unbound/dist/testdata/doh_downstream_notls.tdir/
H A Ddoh_downstream_notls.test21 cat fwd.log
22 cat unbound.log
32 cat fwd.log
33 cat unbound.log
47 cat fwd.log
48 cat unbound.log
58 cat fwd.log
59 cat unbound.log
69 cat fwd.log
70 cat unbound.log
[all …]
/netbsd-src/external/bsd/unbound/dist/testdata/doh_downstream.tdir/
H A Ddoh_downstream.test21 cat fwd.log
22 cat unbound.log
32 cat fwd.log
33 cat unbound.log
47 cat fwd.log
48 cat unbound.log
58 cat fwd.log
59 cat unbound.log
69 cat fwd.log
70 cat unbound.log
[all …]
/netbsd-src/external/bsd/unbound/dist/testdata/doh_downstream_post.tdir/
H A Ddoh_downstream_post.test21 cat fwd.log
22 cat unbound.log
32 cat fwd.log
33 cat unbound.log
47 cat fwd.log
48 cat unbound.log
58 cat fwd.log
59 cat unbound.log
69 cat fwd.log
70 cat unbound.log
[all …]
/netbsd-src/external/bsd/ipf/dist/man/
H A Dipmon.513 to do extra actions when it sees a specific log entry from the kernel.
25 attempts to match every line with every log record received. It does
39 match { type = ipf; } do { save("file:///var/log/ipf-log"); };
50 the current log entry.
52 The lines above would save all ipf log entries to /var/log/ipf-log, send
54 to root for each log entry from the state tables.
58 the type of log entry generated. The full list of fields that can be
62 This option is used to match on log records generated for packets going
71 This option is used to match against the destination port in log entries.
77 actioned in response to an otherwise matching log record from the kernel.
[all …]
/netbsd-src/external/bsd/unbound/dist/testdata/tls_reuse.tdir/
H A Dtls_reuse.test20 cat unbound2.log
21 cat unbound.log
31 cat unbound2.log
32 cat unbound.log
47 cat unbound2.log
48 cat unbound.log
58 cat unbound2.log
59 cat unbound.log
71 cat unbound2.log
72 cat unbound.log
[all …]
/netbsd-src/external/bsd/unbound/dist/testdata/tcp_reuse.tdir/
H A Dtcp_reuse.test20 cat unbound2.log
21 cat unbound.log
31 cat unbound2.log
32 cat unbound.log
47 cat unbound2.log
48 cat unbound.log
58 cat unbound2.log
59 cat unbound.log
71 cat unbound2.log
72 cat unbound.log
[all …]

12345678910>>...190