summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAles Kozumplik <akozumpl@redhat.com>2010-02-23 14:14:37 +0100
committerAles Kozumplik <akozumpl@redhat.com>2010-02-24 10:45:32 +0100
commitb1314ffe9f158c6b4f7c2ee39707bd60575134fb (patch)
tree53adbe14924dbbaf4fe5aa4a3f974d8dad61ffe6
parent3fb12e4eafebfa3885c25b9ab93e9c35f6847425 (diff)
downloadanaconda-b1314ffe9f158c6b4f7c2ee39707bd60575134fb.tar.gz
anaconda-b1314ffe9f158c6b4f7c2ee39707bd60575134fb.tar.xz
anaconda-b1314ffe9f158c6b4f7c2ee39707bd60575134fb.zip
logging: make loader say 'loader' (#563009).
-rw-r--r--loader/log.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/loader/log.c b/loader/log.c
index 4682c8133..5ed3c6a94 100644
--- a/loader/log.c
+++ b/loader/log.c
@@ -69,28 +69,28 @@ static void printLogHeader(int level, FILE *outfile) {
msecs = current_time.tv_usec / 1000;
switch (level) {
case DEBUGLVL:
- fprintf (outfile, "%02d:%02d:%02d,%03d DEBUG : ", t->tm_hour,
- t->tm_min, t->tm_sec, msecs);
+ fprintf (outfile, "%02d:%02d:%02d,%03d DEBUG %s: ", t->tm_hour,
+ t->tm_min, t->tm_sec, msecs, syslog_facility);
break;
case INFO:
- fprintf (outfile, "%02d:%02d:%02d,%03d INFO : ", t->tm_hour,
- t->tm_min, t->tm_sec, msecs);
+ fprintf (outfile, "%02d:%02d:%02d,%03d INFO %s: ", t->tm_hour,
+ t->tm_min, t->tm_sec, msecs, syslog_facility);
break;
case WARNING:
- fprintf (outfile, "%02d:%02d:%02d,%03d WARNING : ", t->tm_hour,
- t->tm_min, t->tm_sec, msecs);
+ fprintf (outfile, "%02d:%02d:%02d,%03d WARNING %s: ", t->tm_hour,
+ t->tm_min, t->tm_sec, msecs, syslog_facility);
break;
case ERROR:
- fprintf (outfile, "%02d:%02d:%02d,%03d ERROR : ", t->tm_hour,
- t->tm_min, t->tm_sec, msecs);
+ fprintf (outfile, "%02d:%02d:%02d,%03d ERROR %s: ", t->tm_hour,
+ t->tm_min, t->tm_sec, msecs, syslog_facility);
break;
case CRITICAL:
- fprintf (outfile, "%02d:%02d:%02d,%03d CRITICAL: ", t->tm_hour,
- t->tm_min, t->tm_sec, msecs);
+ fprintf (outfile, "%02d:%02d:%02d,%03d CRITICAL %s: ", t->tm_hour,
+ t->tm_min, t->tm_sec, msecs, syslog_facility);
break;
}
}