Pref->Type = PrefType;
Pref->eFlatPrefType = Pref->Type->eType;
- syslog(1, "Loading [%s]with type [%d] [\"%s\"]\n",
+ syslog(LOG_DEBUG, "Loading [%s]with type [%d] [\"%s\"]\n",
ChrPtr(Pref->Key),
Pref->Type->eType,
ChrPtr(Pref->Val));
if (PrefType->OnLoad != NULL){
- syslog(1, "Loading with: -> %s(\"%s\", %ld)\n",
+ syslog(LOG_DEBUG, "Loading with: -> %s(\"%s\", %ld)\n",
ChrPtr(PrefType->OnLoadName),
ChrPtr(Pref->Val),
Pref->lval);
else
{
StrBufTrim(ReadBuf);
- syslog(1, "ignoring spurious preference line: [%s]\n",
+ syslog(LOG_INFO, "ignoring spurious preference line: [%s]\n",
ChrPtr(ReadBuf));
DestroyPreference(Data);
LastData = NULL;
Pref->Type = PrefType;
Pref->eFlatPrefType = PrefType->eType;
if (Pref->Type->eType != lPrefType)
- syslog(1, "warning: saving preference with wrong type [%s] %d != %ld \n",
+ syslog(LOG_WARNING, "warning: saving preference with wrong type [%s] %d != %ld \n",
key, Pref->Type->eType, lPrefType);
switch (Pref->Type->eType)
{