r = find_executable(test_binary, &gnome_autostart_condition_path);
if (r < 0) {
- log_full_errno(r == -ENOENT ? LOG_INFO : LOG_WARNING, r,
+ log_full_errno(r == -ENOENT ? LOG_DEBUG : LOG_WARNING, r,
"%s not found: %m", test_binary);
fprintf(f, "# ExecCondition using %s skipped due to missing binary.\n", test_binary);
return r;
/* Nothing to do for hidden services. */
if (service->hidden) {
- log_info("Not generating service for XDG autostart %s, it is hidden.", service->name);
+ log_debug("Not generating service for XDG autostart %s, it is hidden.", service->name);
return 0;
}
if (service->systemd_skip) {
- log_info("Not generating service for XDG autostart %s, should be skipped by generator.", service->name);
+ log_debug("Not generating service for XDG autostart %s, should be skipped by generator.", service->name);
return 0;
}
/* Nothing to do if type is not Application. */
if (!streq_ptr(service->type, "Application")) {
- log_info("Not generating service for XDG autostart %s, only Type=Application is supported.", service->name);
+ log_debug("Not generating service for XDG autostart %s, only Type=Application is supported.", service->name);
return 0;
}
if (service->try_exec) {
r = find_executable(service->try_exec, NULL);
if (r < 0) {
- log_full_errno(r == -ENOENT ? LOG_INFO : LOG_WARNING, r,
+ log_full_errno(r == -ENOENT ? LOG_DEBUG : LOG_WARNING, r,
"Not generating service for XDG autostart %s, could not find TryExec= binary %s: %m",
service->name, service->try_exec);
return 0;
if (service->gnome_autostart_phase) {
/* There is no explicit value for the "Application" phase. */
- log_info("Not generating service for XDG autostart %s, startup phases are not supported.",
- service->name);
+ log_debug("Not generating service for XDG autostart %s, startup phases are not supported.",
+ service->name);
return 0;
}