Home
last modified time | relevance | path

Searched refs:log_level (Results 1 – 25 of 36) sorted by relevance

12

/systemd-251/src/shared/
Ddlfcn-util.c5 static int dlsym_many_or_warnv(void *dl, int log_level, va_list ap) { in dlsym_many_or_warnv() argument
20 return log_full_errno(log_level, in dlsym_many_or_warnv()
29 int dlsym_many_or_warn_sentinel(void *dl, int log_level, ...) { in dlsym_many_or_warn_sentinel() argument
33 va_start(ap, log_level); in dlsym_many_or_warn_sentinel()
34 r = dlsym_many_or_warnv(dl, log_level, ap); in dlsym_many_or_warn_sentinel()
40 int dlopen_many_sym_or_warn_sentinel(void **dlp, const char *filename, int log_level, ...) { in dlopen_many_sym_or_warn_sentinel() argument
53 va_start(ap, log_level); in dlopen_many_sym_or_warn_sentinel()
54 r = dlsym_many_or_warnv(dl, log_level, ap); in dlopen_many_sym_or_warn_sentinel()
Ddlfcn-util.h10 int dlsym_many_or_warn_sentinel(void *dl, int log_level, ...) _sentinel_;
11 int dlopen_many_sym_or_warn_sentinel(void **dlp, const char *filename, int log_level, ...) _sentine…
13 #define dlsym_many_or_warn(dl, log_level, ...) \ argument
14 dlsym_many_or_warn_sentinel(dl, log_level, __VA_ARGS__, NULL)
15 #define dlopen_many_sym_or_warn(dlp, filename, log_level, ...) \ argument
16 dlopen_many_sym_or_warn_sentinel(dlp, filename, log_level, __VA_ARGS__, NULL)
Dtests.h115 #define DEFINE_TEST_MAIN_FULL(log_level, intro, outro) \ argument
120 test_setup_logging(log_level); \
136 #define DEFINE_TEST_MAIN_WITH_INTRO(log_level, intro) \ argument
137 DEFINE_TEST_MAIN_FULL(log_level, intro, NULL)
138 #define DEFINE_TEST_MAIN(log_level) \ argument
139 DEFINE_TEST_MAIN_FULL(log_level, NULL, NULL)
Dsocket-netlink.c219 int make_socket_fd(int log_level, const char* address, int type, int flags) { in make_socket_fd() argument
231 if (fd < 0 || log_get_max_level() >= log_level) { in make_socket_fd()
241 log_full(log_level, "Listening on %s", p); in make_socket_fd()
Dsocket-netlink.h8 int make_socket_fd(int log_level, const char* address, int type, int flags);
Dlibfido2-util.c118 int log_level, /* the log level to use when device is not FIDO2 with hmac-secret */ in verify_features() argument
136 return log_full_errno(log_level, in verify_features()
173 return log_full_errno(log_level, in verify_features()
/systemd-251/src/basic/
Dinotify-util.h13 #define _FOREACH_INOTIFY_EVENT(e, buffer, sz, log_level, start, end) \ argument
20 (log_full(log_level, "Received invalid inotify event, ignoring."), false)); \
23 #define _FOREACH_INOTIFY_EVENT_FULL(e, buffer, sz, log_level) \ argument
24 _FOREACH_INOTIFY_EVENT(e, buffer, sz, log_level, UNIQ_T(start, UNIQ), UNIQ_T(end, UNIQ))
Dunit-file.c72 int unit_validate_alias_symlink_or_warn(int log_level, const char *filename, const char *target) { in unit_validate_alias_symlink_or_warn() argument
96 return log_full_errno(log_level, src_name_type, in unit_validate_alias_symlink_or_warn()
103 return log_full_errno(log_level, SYNTHETIC_ERRNO(EINVAL), in unit_validate_alias_symlink_or_warn()
109 return log_full_errno(log_level, SYNTHETIC_ERRNO(EINVAL), in unit_validate_alias_symlink_or_warn()
122 …return log_full_errno(log_level, dst_name_type == -EINVAL ? SYNTHETIC_ERRNO(EXDEV) : dst_name_type, in unit_validate_alias_symlink_or_warn()
128 return log_full_errno(log_level, SYNTHETIC_ERRNO(EXDEV), in unit_validate_alias_symlink_or_warn()
136 return log_full_errno(log_level, SYNTHETIC_ERRNO(EXDEV), in unit_validate_alias_symlink_or_warn()
143 return log_full_errno(log_level, SYNTHETIC_ERRNO(EXDEV), in unit_validate_alias_symlink_or_warn()
Dtime-util.h153 int verify_timezone(const char *name, int log_level);
154 static inline bool timezone_is_valid(const char *name, int log_level) { in timezone_is_valid() argument
155 return verify_timezone(name, log_level) >= 0; in timezone_is_valid()
Dunit-file.h35 int unit_validate_alias_symlink_or_warn(int log_level, const char *filename, const char *target);
Dtime-util.c1396 int verify_timezone(const char *name, int log_level) { in verify_timezone() argument
1440 return log_full_errno(log_level, errno, "Failed to open timezone file '%s': %m", t); in verify_timezone()
1444 … return log_full_errno(log_level, r, "Timezone file '%s' is not a regular file: %m", t); in verify_timezone()
1448 … return log_full_errno(log_level, r, "Failed to read from timezone file '%s': %m", t); in verify_timezone()
1452 return log_full_errno(log_level, SYNTHETIC_ERRNO(EBADMSG), in verify_timezone()
Dsyslog-util.c99 DEFINE_STRING_TABLE_LOOKUP_WITH_FALLBACK(log_level, int, LOG_DEBUG);
/systemd-251/src/vconsole/
Dvconsole-setup.c221 int log_level; in setup_remaining_vcs() local
230 log_level = LOG_WARNING; in setup_remaining_vcs()
239 log_level = LOG_DEBUG; in setup_remaining_vcs()
241 log_full_errno(log_level, errno, in setup_remaining_vcs()
278 log_full(log_level, "Fonts will not be copied to remaining consoles"); in setup_remaining_vcs()
/systemd-251/src/test/
Dtest-conf-parser.c22 int log_level = 0; in test_config_parse_log_level_one() local
24 …_parse_log_level("unit", "filename", 1, "section", 1, "lvalue", 0, rvalue, &log_level, NULL) >= 0); in test_config_parse_log_level_one()
25 assert_se(expected == log_level); in test_config_parse_log_level_one()
/systemd-251/.github/workflows/
Dmkosi.yml23 …mkosi-check-and-shutdown.service !quiet systemd.log_level=debug systemd.log_target=console udev.lo…
/systemd-251/test/test-network/conf/
D00-debug-net.rules2 SUBSYSTEM=="net", OPTIONS="log_level=debug"
/systemd-251/src/network/
Dnetworkd-dhcp6.c159 int log_level; in verify_dhcp6_address() local
170 log_level = LOG_INFO; in verify_dhcp6_address()
173 log_level = LOG_DEBUG; in verify_dhcp6_address()
194 log_link_full(link, log_level, "DHCPv6 address %s/%u (valid %s, preferred %s)", in verify_dhcp6_address()
Dnetworkd-dhcp-prefix-delegation.c362 int log_level; in log_dhcp_pd_address() local
367 log_level = address_get(link, address, NULL) >= 0 ? LOG_DEBUG : LOG_INFO; in log_dhcp_pd_address()
369 if (log_level < log_get_max_level()) in log_dhcp_pd_address()
374 log_link_full(link, log_level, "DHCP-PD address %s (valid %s, preferred %s)", in log_dhcp_pd_address()
/systemd-251/test/fuzz/fuzz-unit-file/
Ddirectives-all.service320 rd.udev.log_level= key
336 systemd.log_level= key
355 udev.log_level= key
/systemd-251/src/udev/
Dudev-event.h50 UdevEvent *udev_event_new(sd_device *dev, usec_t exec_delay_usec, sd_netlink *rtnl, int log_level);
Dudevd.c95 int log_level; member
590 udev_event = udev_event_new(dev, arg_exec_delay_usec, manager->rtnl, manager->log_level); in worker_process_device()
657 log_set_max_level(manager->log_level); in worker_device_monitor_handler()
1287 manager->log_level = value->intval; in on_ctrl_msg()
1969 manager->log_level = log_get_max_level(); in manager_new()
/systemd-251/src/core/
Djob.c641 int log_level; member
685 if (!unit_log_level_test(u, job_done_messages[result].log_level)) in job_emit_done_message()
718 job_done_messages[result].log_level, in job_emit_done_message()
729 job_done_messages[result].log_level, in job_emit_done_message()
744 log_unit_struct(u, job_done_messages[result].log_level, in job_emit_done_message()
Dunit.c2267 static int raise_level(int log_level, bool condition_info, bool condition_notice) { in raise_level() argument
2268 if (condition_notice && log_level > LOG_NOTICE) in raise_level()
2270 if (condition_info && log_level > LOG_INFO) in raise_level()
2272 return log_level; in raise_level()
2279 int log_level = LOG_DEBUG; /* May be raised if resources consumed over a threshold */ in unit_log_resources() local
2321 log_level = raise_level(log_level, in unit_log_resources()
2365 log_level = raise_level(log_level, in unit_log_resources()
2429 log_level = raise_level(log_level, in unit_log_resources()
2436 if (!unit_log_level_test(u, log_level)) { in unit_log_resources()
2495 log_unit_struct_iovec(u, log_level, iovec, n_iovec + 4); in unit_log_resources()
/systemd-251/src/resolve/
Dresolved-dns-server.c458 int log_level = LOG_WARNING; in dns_server_possible_feature_level() local
513 log_level = LOG_NOTICE; in dns_server_possible_feature_level()
585 … log_full(log_level, "Using degraded feature set %s instead of %s for DNS server %s.", in dns_server_possible_feature_level()
Dresolved-manager.h203 void manager_flush_caches(Manager *m, int log_level);

12