1 # Contains a function to supply the syslog module with extra logs
6 # Returns a list of structures containing extra log files known to this module
9 local $conf = &get_config();
10 local $logging = &find("logging", $conf);
11 return ( ) if (!$logging);
12 local @chans = &find("channel", $logging->{'members'});
14 foreach my $c (@chans) {
15 local $file = &find("file", $c->{'members'});
17 push(@rv, { 'file' => $file->{'values'}->[0],
19 'desc' => $text{'syslog_desc'} });