|
@@ -173,6 +173,10 @@ vsyslog( int pri, const char *fmt, va_list ap )
|
|
if (LogFile < 0 || !connected)
|
|
if (LogFile < 0 || !connected)
|
|
openlog(LogTag, LogStat | LOG_NDELAY, 0);
|
|
openlog(LogTag, LogStat | LOG_NDELAY, 0);
|
|
|
|
|
|
|
|
+
|
|
|
|
+ if ((pri & LOG_FACMASK) == 0)
|
|
|
|
+ pri |= LogFacility;
|
|
|
|
+
|
|
|
|
|
|
* no longer than 64 characters plus length of the LogTag. So it's
|
|
* no longer than 64 characters plus length of the LogTag. So it's
|
|
* safe to test only LogTag and use normal sprintf everywhere else.
|
|
* safe to test only LogTag and use normal sprintf everywhere else.
|