tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Sweatt, Wayne" <sweatt () dps ! state ! nm ! us>
To: tru64-unix-managers
Subject: SUMMARY: Duplicate local0 facilities in syslog.conf my problem?
Date: Wed, 24 Nov 1999 17:04:23 +0000	[thread overview]
Message-ID: <96079085416412.tru64-unix-managers.marc@archive.invalid> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01BF369D.F967FB90", Size: 4856 bytes --]

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01BF369D.F967FB90
Content-Type: text/plain

It looks like the answer is to change "myapp" to log to local[1-7], since I
don't have NSR
source, of course.

Thanks to:
Michele Tomkin
Sean O'Connell
	Original Question:
	_______________________________________________
	A basic question for those who know syslog well:
	AS1200
	4.0D 

	I am seeing a local network app writing to the NSR log in:
	"/nsr/logs/summary" 

	I have an entry in /etc/syslog.conf for logging of the local app as
follows: 

	local0.warning  /var/log/myapp.log 

	Within the NSR created section of the syslog.conf I have: 

	# %BRX421_BEGIN% - DO NOT MODIFY OR DELETE(date)
	daemon.notice   /dev/console
	daemon.notice   /nsr/logs/messages
	daemon.notice   operator
	local0.notice   /nsr/logs/summary
	local0.alert    root, operator
	# %BRX421_END% - DO NOT MODIFY OR DELETE 

	Is the local app sending it's logging info to "local0" and
	conflicting with the NSR logging to local0 as well ? 

	Should the local app be changed to send logging to local[1-7] ? 


	***********************
	Wayne Sweatt
	Principal Software Analyst
	Litton / PRC
	505.827.9288
	*********************** 
	
	

------_=_NextPart_001_01BF369D.F967FB90
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>SUMMARY: Duplicate local0 facilities in syslog.conf my =
problem?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">It looks like the answer is to change =
&quot;myapp&quot; to log to local[1-7], since I don't have NSR</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">source, of course.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks to:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Michele Tomkin</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Sean O'Connell</FONT>
<UL>
<P><U></U><A NAME=3D"_MailData"><U><FONT FACE=3D"Arial">Original =
Question:</FONT></U></A>
<BR><U><FONT =
FACE=3D"Arial">_______________________________________________</FONT></U=
>
<BR><FONT SIZE=3D2 FACE=3D"Arial">A</FONT><A =
NAME=3D"BM__MailData"><FONT SIZE=3D2 FACE=3D"Arial"> basic question for =
those who know syslog well:</FONT></A><BR>
<FONT SIZE=3D2 FACE=3D"Arial">AS1200</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Arial">4.0D</FONT><FONT FACE=3D"Arial"> </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I am seeing a local network app =
writing to the NSR log in:</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Arial">&quot;/nsr/logs/summary&quot;</FONT><FONT =
FACE=3D"Arial"> </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I have an entry in /etc/syslog.conf =
for logging of the local app as follows:</FONT><FONT FACE=3D"Arial"> =
</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">local0.warning=A0 =
/var/log/myapp.log</FONT><FONT FACE=3D"Arial"> </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Within the NSR created section of the =
syslog.conf I have:</FONT><FONT FACE=3D"Arial"> </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial"># %BRX421_BEGIN% - DO NOT MODIFY OR =
DELETE(date)</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Arial">daemon.notice=A0=A0 =
/dev/console</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Arial">daemon.notice</FONT><FONT =
FACE=3D"Arial">=A0=A0</FONT> <FONT SIZE=3D2 =
FACE=3D"Arial">/nsr/logs/messages</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Arial">daemon.notice=A0=A0</FONT><FONT =
FACE=3D"Arial"></FONT> <FONT SIZE=3D2 =
FACE=3D"Arial">operator</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Arial">local0.notice=A0=A0 =
/nsr/logs/summary</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Arial">local0.alert=A0=A0=A0 root, =
operator</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Arial"># %BRX421_END% - DO NOT MODIFY OR =
DELETE</FONT><FONT FACE=3D"Arial"> </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Is the local app sending it's logging =
info to &quot;local0&quot; and</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Arial">conflicting with the NSR logging to =
local0 as well ?</FONT><FONT FACE=3D"Arial"> </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Should the local app be changed to =
send logging to local[1-7] ?</FONT><FONT FACE=3D"Arial"> </FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">***********************</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Comic Sans MS">Wayne Sweatt</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Comic Sans MS">Principal Software =
Analyst</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Comic Sans MS">Litton / PRC</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Comic Sans MS">505.827.9288</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Arial">***********************</FONT><FONT =
FACE=3D"Arial"><BR>
</FONT>
<BR>
</P>
</UL>
</BODY>
</HTML>
------_=_NextPart_001_01BF369D.F967FB90--

                 reply	other threads:[~1999-11-24 17:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox