1833043 Members
2527 Online
110049 Solutions
New Discussion

syslog in /usr/newconfig

 
SOLVED
Go to solution
joe_91
Super Advisor

syslog in /usr/newconfig

Team:

I changed the syslog.conf to redirect some Application messages to a different log file. Should i also change /usr/newconfig/etc/syslog.conf also? What would the purpose of the file and should I make changes there also? Please advice.

Thanks
Joe.
4 REPLIES 4
Clemens van Everdingen
Honored Contributor

Re: syslog in /usr/newconfig

Hi,

No you should leave this as it is.
This is just an example file for new configurations.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
RAC_1
Honored Contributor

Re: syslog in /usr/newconfig

no, the files in /usr/newconfig are for reference.
There is no substitute to HARDWORK
doug hosking
Esteemed Contributor
Solution

Re: syslog in /usr/newconfig

Files in /usr/newconfig are not used directly.
They exist as 'templates' for configuration files in /etc and similar system directories, showing you the original or default configuration file values. Configuration scripts for some software copy the templates from /usr/newconfig to /etc as the product is being installed. Often, these scripts will use an existing configuration file if one exists, and copy a version from /usr/newconfig to /etc if it doesn't yet exist. That way the system is properly configured whether or not the file in question has already been customized for a particular system. In other cases the files exist only for reference and must be manually copied from /usr/newconfig. Other than installation/configuration scripts, no applications should be accessing the files in /usr/newconfig, and you should therefore 'never' modify the copy there.

T G Manikandan
Honored Contributor

Re: syslog in /usr/newconfig

/etc/syslog.conf file is the file which is active right now.
/usr/newconfig/etc/.. files are the default templates of these modified configuration files.
Incase of problems with the existing files those files will be used.
Modifying the /etc/syslog.conf file is sufficient.

You should restart your syslogd to read the /etc/syslog.conf configuration file

THanks