asl_client_t *asl = asl_client_open(ident, facility, opts);
if (asl == NULL) return NULL;
- _asl_global_init();
if (!(opts & ASL_OPT_NO_REMOTE)) _asl_notify_open(1);
return (asl_object_t)asl;
return outstatus;
}
- _asl_global_init();
outstatus = 0;
/*
}
#endif
+ _asl_global_init();
if ((_asl_global.server_port != MACH_PORT_NULL) && (eval & EVAL_SEND_ASL))
{
asl_string_t *send_str;
ASL_CONF="${SRCROOT}"/syslogd.tproj/asl.conf.osx
SYSLOG_CONF="${SRCROOT}"/syslogd.tproj/syslog.conf
elif [[ "${PLATFORM_NAME}" == "bridgeos" ]] ; then
- PLIST="${SRCROOT}"/syslogd.tproj/com.apple.syslogd.plist
- ASL_CONF="${SRCROOT}"/syslogd.tproj/asl.conf.ios
- SYSLOG_CONF="${SRCROOT}"/syslogd.tproj/syslog.conf
- SYSTEM_LOG_CONF="${SRCROOT}"/syslogd.tproj/com.apple.system.log.bridgeos
-elif [[ "${PLATFORM_NAME}" == "watchos" ]] ; then
PLIST="${SRCROOT}"/syslogd.tproj/com.apple.syslogd.disabled.plist
ASL_CONF="${SRCROOT}"/syslogd.tproj/asl.conf.ios
SYSLOG_CONF="${SRCROOT}"/syslogd.tproj/syslog.conf
- SYSTEM_LOG_CONF="${SRCROOT}"/syslogd.tproj/com.apple.system.log
+ SYSTEM_LOG_CONF="${SRCROOT}"/syslogd.tproj/com.apple.system.log.bridgeos
else
- PLIST="${SRCROOT}"/syslogd.tproj/com.apple.syslogd.plist
+ PLIST="${SRCROOT}"/syslogd.tproj/com.apple.syslogd.disabled.plist
ASL_CONF="${SRCROOT}"/syslogd.tproj/asl.conf.ios
SYSLOG_CONF="${SRCROOT}"/syslogd.tproj/syslog.conf
SYSTEM_LOG_CONF="${SRCROOT}"/syslogd.tproj/com.apple.system.log