From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079072816156.tru64-unix-managers.marc@archive.invalid> From: Arrigo Triulzi Date: Sat, 18 Sep 1999 16:16:05 +0000 To: tru64-unix-managers Subject: Bug: lpd under 4.0F + Patch Kit #1 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079072816156 Hi, I have the feeling that there is a slight bug in lpd as shipped with 4.0F + PK#1: the call to syslog() has the log level in the wrong place. >From lpr.log: Sep 18 17:58:09 amalia lpd[631]: NOTICE -- lpd: MASTER DAEMON STARTED Sep 18 17:58:09 amalia lpd[631]: WARNING -- Wizard to SysAdmin: please issue this command to fix your print setup: 'chown daemon /usr/spool/lj4000n-cy' Sep 18 17:58:09 amalia lpd[631]: WARNING -- Wizard to SysAdmin: please issue this command to fix your print setup: 'chown daemon /usr/spool/lj4000n-uk' Sep 18 18:59:56 amalia lpd[15610]: NOTICE -- lpd: MASTER DAEMON STARTED Sep 18 18:59:57 amalia lpd[15611]: DEBUG -- displayq: entered displayq(), printer lp Sep 18 18:59:57 amalia lpd[15611]: DEBUG -- getport: entered getport(), rhost laserjet.cy.albourne.com Sep 18 19:08:48 amalia lpd[15714]: DEBUG -- displayq: entered displayq(), printer lp I have the feeling that these are priorities which ended up in the string (from the syslog(3) man page): void syslog( int priority, const char *format,...); where priority is something like LOG_NOTICE. My syslog.conf is not logging lpr stuff beyond the warning - before you ask. On a separate note: why is the default syslog.conf as shipped with 4.0F + PK#1 a pretty verbose kern.debug /var/adm/syslog.dated/kern.log user.debug /var/adm/syslog.dated/user.log mail.debug /var/adm/syslog.dated/mail.log daemon.debug /var/adm/syslog.dated/daemon.log auth.debug /var/adm/syslog.dated/auth.log syslog.debug /var/adm/syslog.dated/syslog.log lpr.debug /var/adm/syslog.dated/lpr.log etc.? It is a bit over the top... Arrigo -- Arrigo Triulzi - Peripatetic Wizard Albourne Partners Ltd. - London, UK APL Financial Services (Overseas) Ltd. - Nicosia, Cyprus "Every day, thousands are coming back to BT... with baseball bats!"