Lines Matching refs:stderr
162 fprintf(stderr, "usage:\n"); in usage()
163 fprintf(stderr, "%s -s [-r host] [-l level] message...\n", myname); in usage()
164 fprintf(stderr, " send a message\n"); in usage()
165 fprintf(stderr, "\n"); in usage()
166 fprintf(stderr, "%s -s [-r host] -k key val [key val]...\n", myname); in usage()
167 fprintf(stderr, " send a message with the given keys and values\n"); in usage()
168 fprintf(stderr, "\n"); in usage()
169 fprintf(stderr, "%s -c process [filter]\n", myname); in usage()
170 fprintf(stderr, " get (set if filter is specified) syslog filter for process (pid or name)\n"); in usage()
171 fprintf(stderr, " level may be any combination of the characters \"p a c e w n i d\"\n"); in usage()
172 fprintf(stderr, " p = Emergency (\"Panic\")\n"); in usage()
173 fprintf(stderr, " a = Alert\n"); in usage()
174 fprintf(stderr, " c = Critical\n"); in usage()
175 fprintf(stderr, " e = Error\n"); in usage()
176 fprintf(stderr, " w = Warning\n"); in usage()
177 fprintf(stderr, " n = Notice\n"); in usage()
178 fprintf(stderr, " i = Info\n"); in usage()
179 fprintf(stderr, " d = Debug\n"); in usage()
180 fprintf(stderr, " a minus sign preceding a single letter means \"up to\" that level\n"); in usage()
181 fprintf(stderr, "\n"); in usage()
182 fprintf(stderr, "%s -config [params...]\n", myname); in usage()
183 fprintf(stderr, " without params, fetch and print syslogd parameters and statistics\n"); in usage()
184 fprintf(stderr, " otherwise, set or reset syslogd configuration parameters\n"); in usage()
185 fprintf(stderr, "\n"); in usage()
186 fprintf(stderr, "%s -module [name [action]]\n", myname); in usage()
187 fprintf(stderr, " with no name, prints configuration for all ASL output modules\n"); in usage()
188 fprintf(stderr, " with name and no action, prints configuration for named ASL output module\n"); in usage()
189 …fprintf(stderr, " supported actions - module name required, use '*' (with single quotes) for all… in usage()
190 fprintf(stderr, " enable [01] enables (or disables with 0) named module\n"); in usage()
191 fprintf(stderr, " does not apply to com.apple.asl when '*' is used\n"); in usage()
192 …fprintf(stderr, " checkpoint [file] checkpoints all files or specified file for named mod… in usage()
193 fprintf(stderr, "\n"); in usage()
194 …fprintf(stderr, "%s [-f file...] [-d path...] [-x file] [-w [N]] [-F format] [-nocompress] [-u] [-… in usage()
195 fprintf(stderr, " -f read named file[s], rather than standard log message store.\n"); in usage()
196 …fprintf(stderr, " -d read all file in named directory path, rather than standard log message… in usage()
197 fprintf(stderr, " -x export to named ASL format file, rather than printing\n"); in usage()
198 fprintf(stderr, " -w watch data store (^C to quit)\n"); in usage()
199 fprintf(stderr, " prints the last N matching lines (default 10) before waiting\n"); in usage()
200 fprintf(stderr, " \"-w all\" prints all matching lines before waiting\n"); in usage()
201 …fprintf(stderr, " \"-w boot\" prints all matching lines since last system boot before wai… in usage()
202 fprintf(stderr, " -F output format may be \"std\", \"raw\", \"bsd\", or \"xml\"\n"); in usage()
203 fprintf(stderr, " format may also be a string containing variables of the form\n"); in usage()
204 …fprintf(stderr, " $Key or $(Key) - use the latter for non-whitespace delimited variables\… in usage()
205 …fprintf(stderr, " -T timestamp format may be \"sec\" (seconds), \"utc\" (UTC), or \"local\" … in usage()
206 fprintf(stderr, " -E text encoding may be \"vis\", \"safe\", or \"none\"\n"); in usage()
207 fprintf(stderr, " -nodc no duplicate message compression\n"); in usage()
208 fprintf(stderr, " -u print timestamps using UTC (equivalent to \"-T utc\")\n"); in usage()
209 …fprintf(stderr, " -sort sort messages using value for specified key1 (secondary sort by key2 if… in usage()
210 …fprintf(stderr, " -nsort numeric sort messages using value for specified key1 (secondary sort by… in usage()
211 fprintf(stderr, " -k key/value match\n"); in usage()
212 …fprintf(stderr, " if no operator or value is given, checks for the existence of the key\n… in usage()
213 fprintf(stderr, " if no operator is given, default is \"%s\"\n", OP_EQ); in usage()
214 fprintf(stderr, " -B only process log messages since last system boot\n"); in usage()
215 fprintf(stderr, " -C alias for \"-k Facility com.apple.console\"\n"); in usage()
216 fprintf(stderr, " -o begins a new query\n"); in usage()
217 fprintf(stderr, " queries are \'OR\'ed together\n"); in usage()
218 fprintf(stderr, "operators are zero or more modifiers followed by a comparison\n"); in usage()
219 fprintf(stderr, " %s equal\n", OP_EQ); in usage()
220 fprintf(stderr, " %s not equal\n", OP_NE); in usage()
221 fprintf(stderr, " %s greater than\n", OP_GT); in usage()
222 fprintf(stderr, " %s greater or equal\n", OP_GE); in usage()
223 fprintf(stderr, " %s less than\n", OP_LT); in usage()
224 fprintf(stderr, " %s less or equal\n", OP_LE); in usage()
225 fprintf(stderr, "optional modifiers for operators\n"); in usage()
226 fprintf(stderr, " %c case-fold\n", MOD_CASE_FOLD); in usage()
227 fprintf(stderr, " %c regular expression\n", MOD_REGEX); in usage()
228 fprintf(stderr, " %c substring\n", MOD_SUBSTRING); in usage()
229 fprintf(stderr, " %c prefix\n", MOD_PREFIX); in usage()
230 fprintf(stderr, " %c suffix\n", MOD_SUFFIX); in usage()
231 fprintf(stderr, " %c numeric comparison\n", MOD_NUMERIC); in usage()
267 fprintf(stderr, "can't get status information from syslogd\n"); in module_control()
363 fprintf(stderr, "can't allocate memory - exiting\n"); in module_control()
390 fprintf(stderr, "can't allocate memory - exiting\n"); in module_control()
925 fprintf(stderr, "usage:\n"); in syslog_remote_control()
926 fprintf(stderr, "%s -c process [mask]\n", myname); in syslog_remote_control()
927 …fprintf(stderr, " get (set if mask is specified) syslog filter mask for process (pid or name)\n"… in syslog_remote_control()
928 fprintf(stderr, " process may be pid or process name\n"); in syslog_remote_control()
929 fprintf(stderr, " use \"-c 0\" to get master syslog filter mask\n"); in syslog_remote_control()
930 fprintf(stderr, " use \"-c 0 off\" to disable master syslog filter mask\n"); in syslog_remote_control()
931 fprintf(stderr, "\n"); in syslog_remote_control()
942 fprintf(stderr, "%s: does not have a filter mask\n", argv[2]); in syslog_remote_control()
957 fprintf(stderr, "%s: process not found\n", argv[2]); in syslog_remote_control()
963 fprintf(stderr, "%s: multiple processes found\n", argv[2]); in syslog_remote_control()
964 fprintf(stderr, "use pid to identify a process uniquely\n"); in syslog_remote_control()
1025 fprintf(stderr, "Unknown level: %s\n", argv[i]); in syslog_send()
1105 fprintf(stderr, "can't get status information from syslogd\n"); in syslog_config()
1121 fprintf(stderr, "syslogd parameters may only be set by the superuser\n"); in syslog_config()
1163 fprintf(stderr, "syslog control limited to use by superuser\n"); in syslog_control()
1229 fprintf(stderr, "export file write failed: %s\n", asl_core_error(status)); in printmsg()
1327 fprintf(stderr, "query failed: can't contact syslogd\n"); in syslogd_query()
1402 fprintf(stderr, "query failed: can't contact syslogd\n"); in syslogd_direct_watch()
1428 fprintf(stderr, "query failed: can't find a port to connect to syslogd\n"); in syslogd_direct_watch()
1457 fprintf(stderr, "\nrecvfrom (message length) returned %d (errno %d) - exiting\n", bytes, errno); in syslogd_direct_watch()
1474 fprintf(stderr, "\ncan't allocate memory - exiting\n"); in syslogd_direct_watch()
1488 …fprintf(stderr, "\nrecvfrom (message body) returned %d (errno %d) at length %d of %d - exiting\n",… in syslogd_direct_watch()
1496 fprintf(stderr, "\ntruncated message: expected %d bytes received %d bytes\n", inlen, n); in syslogd_direct_watch()
1675 fprintf(stderr, "invalid option: %s\n", o); in optype()
1685 fprintf(stderr, "warning: case fold modifier has no effect with numeric comparisons\n"); in optype()
1691 fprintf(stderr, "warning: regex modifier has no effect with numeric comparisons\n"); in optype()
1697 fprintf(stderr, "warning: substring modifier has no effect with numeric comparisons\n"); in optype()
1703 fprintf(stderr, "warning: prefix modifier has no effect with numeric comparisons\n"); in optype()
1709 fprintf(stderr, "warning: suffix modifier has no effect with numeric comparisons\n"); in optype()
1718 …fprintf(stderr, "warning: substring modifier has no effect with regular expression comparisons\n"); in optype()
1724 fprintf(stderr, "warning: prefix modifier has no effect with regular expression comparisons\n"); in optype()
1730 fprintf(stderr, "warning: suffix modifier has no effect with regular expression comparisons\n"); in optype()
1758 fprintf(stderr, "invalid value for \"Level\"key: %s\n", val); in add_op()
1772 fprintf(stderr, "no value supplied for operator %s %s\n", key, op); in add_op()
1778 fprintf(stderr, "non-numeric value supplied for numeric operator %s %s %s\n", key, op, val); in add_op()
1798 fprintf(stderr, "syslog can only read one legacy format database\n"); in add_db_file()
1799 fprintf(stderr, "can't combine legacy and non-legacy databases in a single search\n"); in add_db_file()
1810 fprintf(stderr, "data store file %s open failed: %s \n", name, asl_core_error(status)); in add_db_file()
1816 fprintf(stderr, "data store file %s open failed\n", name); in add_db_file()
1824 fprintf(stderr, "syslog can only read a single legacy format database\n"); in add_db_file()
1825 fprintf(stderr, "can't combine legacy and non-legacy databases in a single search\n"); in add_db_file()
1863 fprintf(stderr, "%s: %s\n", name, strerror(errno)); in add_db_dir()
2033 fprintf(stderr, "missing directory name following -d flag\n"); in main()
2241 fprintf(stderr, "invalid sequence: -k"); in main()
2242 for (j = i; j <= n; j++) fprintf(stderr, " %s", argv[j]); in main()
2243 fprintf(stderr, "\n"); in main()
2274 fprintf(stderr, "syslog: unknown option \"%s\"\n", argv[i]); in main()
2275 fprintf(stderr, "run \"syslog -help\" for usage\n"); in main()
2298 fprintf(stderr, "Warning: -w flag has no effect with -sort flag\n"); in main()
2306 fprintf(stderr, "Warning: -w flag not supported for a set of one or more files\n"); in main()
2310 fprintf(stderr, "Warning: directory \"%s\" is not an ASL data store\n", argv[saw_dash_d]); in main()
2311 fprintf(stderr, " -w flag not supported for a set of one or more files\n"); in main()
2322 fprintf(stderr, "Warning: -w flag has no effect with -x export flag\n"); in main()
2330 fprintf(stderr, "export file open failed: %s\n", asl_core_error(status)); in main()
2360 fprintf(stderr, "\ncan't allocate memory - exiting\n"); in main()
2367 fprintf(stderr, "\ncan't allocate memory - exiting\n"); in main()
2412 fprintf(stderr, "Warning: -w flag cannot be used when querying syslogd directly\n"); in main()