[syslog-ng]global options problems on Solaris 7/sparc

Tom Wells twells@razafoundries.com
Fri, 20 Oct 2000 20:45:50 -0700


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_01C03B11.67E8A3DA
Content-Type: text/plain;
	charset="iso-8859-1"

  > -----Original Message-----
  > From: Chris Scheller [mailto:schelcj@pobox.com]
  > 
  > > 	perm(0600);
  > > 	dir_perm(0755);
  > someone correct me if i am wrong, but the perm options 
  > belong in your
  > destination statement. here is an example from my conf
  > 
  > destination d_faci  {
  > 	file("/var/log/syslog-ng/$YEAR/$MONTH/$DAY/$FACILITY" 
  > perm(0600)); 
  > };


There should be some globals.....  It sucks to have to list the same things
30 times, both for local and remote destinations (on this loghost, anyways).

Why can't there be a 

options {
	files (owner(root) group(root) perm(0640) dir_perm(0755));
}; 

as a global option????  It would sure help to keep things a tad bit simpler
and cleaner.....

Tom

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">



RE: [syslog-ng]global options problems on Solaris =
7/sparc



  > -----Original Message-----
  > From: Chris Scheller [mailto:schelcj@pobox.com]
  >
  > >   perm(0600);
  > >   dir_perm(0755);
  > someone correct me if i am wrong, but = the perm options
  > belong in your
  > destination statement. here is an = example from my conf
  >
  > destination d_faci  {
  >     = file("/var/log/syslog-ng/$YEAR/$MONTH/$DAY/$FACILITY"
  > perm(0600));
  > };


There should be some globals.....  It sucks to = have to list the same things 30 times, both for local and remote = destinations (on this loghost, anyways).

Why can't there be a

options {
        files = (owner(root) group(root) perm(0640) dir_perm(0755));
};

as a global option????  It would sure help to = keep things a tad bit simpler and cleaner.....

Tom

------_=_NextPart_001_01C03B11.67E8A3DA--