FreeBSD Bugzilla – Attachment 177799 Details for
Bug 215154
syslogd - enhancing and fixing debug mode output
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch as diff -c
syslogd.diff (text/plain), 1.56 KB, created by
Hellmuth Michaelis
on 2016-12-08 13:04:40 UTC
(
hide
)
Description:
patch as diff -c
Filename:
MIME Type:
Creator:
Hellmuth Michaelis
Created:
2016-12-08 13:04:40 UTC
Size:
1.56 KB
patch
obsolete
>*** syslogd.c-DIST Sat Dec 3 17:45:36 2016 >--- syslogd.c Thu Dec 8 13:36:09 2016 >*************** >*** 1717,1724 **** > > if (Debug) { > int port; > for (f = Files; f; f = f->f_next) { >! for (i = 0; i <= LOG_NFACILITIES; i++) > if (f->f_pmask[i] == INTERNAL_NOPRI) > printf("X "); > else >--- 1717,1737 ---- > > if (Debug) { > int port; >+ >+ printf("==================== FACILITIES =============== | === LEVEL ===\n"); >+ printf(" 1 1 1 1 1 1 1 1 1 1 2 2 2 2 | 0 = EMERG\n"); >+ printf("0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 | 1 = ALERT\n"); >+ printf(" a s R | 2 = CRIT\n"); >+ printf(" u e c E | 3 = ERR\n"); >+ printf(" d s t c o S l l l l l l l l | 4 = WARNING\n"); >+ printf(" a y h u n E o o o o o o o o | 5 = NOTICE\n"); >+ printf("k u m e a s n u c p r s R c c c c c c c c | 6 = INFO\n"); >+ printf("e s a m u l l e u r r f n i o V a a a a a a a a | 7 = DEBUG\n"); >+ printf("r e i o t o p w c o i t t t l E l l l l l l l l | X = no priority\n"); >+ printf("n r l n h g t s p n v p p y e D 0 1 2 3 4 5 6 7 |\n\n"); >+ > for (f = Files; f; f = f->f_next) { >! for (i = 0; i < LOG_NFACILITIES; i++) > if (f->f_pmask[i] == INTERNAL_NOPRI) > printf("X "); > else >*************** >*** 1756,1761 **** >--- 1769,1776 ---- > } > if (f->f_program) > printf(" (%s)", f->f_program); >+ if (f->f_host) >+ printf(" [%s]", f->f_host); > printf("\n"); > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 215154
: 177799