hi,

all the xcat log entries are placed in "local4" facility with respective 
levels, so with rsyslog, you can simply append a line
"local4.*                /var/log/messages" 

to rsyslog rule configuration file /etc/rsyslog.conf, then restart rsyslog 
service to apply the rule.

thanks
best regards
------------------------------------------------------------------------------
 YANG Song (杨嵩)
 IBM China System Technology Laboratory
 Tel: 86-10-82452903
 Email: [email protected]
 Address: Building 28, ZhongGuanCun Software Park,
          No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, 
PRC

北京市海淀区东北旺西路8号中关村软件园28号楼
邮编: 100193



From:   Yaron Daniel <[email protected]>
To:     [email protected], 
Date:   11/26/2012 04:14 AM
Subject:        [xcat-user] local syslog



Hello All, 

I am running xCAT-server-2.7.3 on RHEL 6.2 and i would like to setup that 
the syslog will also log to the local /var/log/messages file and not only 
write to the xcat syslog. 
On RHEL 6 there was a change and rsyslog is replacing the syslog, how can 
i define in the xcat postscripts to setup rsyslog to write also to local 
/var/log/messages ?

  
Regards 
  


  
  
Yaron Daniel 
 94 Em Ha'Moshavot Rd 

Server, Storage and Data Services - Team Leader 
 Petach Tiqva, 49527 
Global Technology Services 
 Israel 
Phone: 
+972-3-916-5672 
  
  
Fax: 
+972-3-916-5672 
 
  
Mobile: 
+972-52-8395593 
 
  
e-mail: 
[email protected] 
 
  
IBM Israel 
 
  
  
 

 
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user


<<image/gif>>

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to