Have corosync spec file own /var/log/cluster/corosync.log

have example use /var/log/cluster/cluster.log as default log file


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2970 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2010-06-28 23:30:49 +00:00
parent 7b832592b0
commit 60f13c03a2
2 changed files with 4 additions and 2 deletions

View File

@ -15,10 +15,10 @@ totem {
logging {
fileline: off
to_stderr: yes
to_stderr: no
to_logfile: yes
to_syslog: yes
logfile: /tmp/corosync.log
logfile: /var/log/cluster/corosync.log
debug: off
timestamp: on
logger_subsys {

View File

@ -61,6 +61,7 @@ make %{_smp_mflags}
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
mkdir -p -m 0700 %{buildroot}/%{_localstatedir}/log/cluster
## tree fixup
# drop static libs
@ -116,6 +117,7 @@ fi
%{_libexecdir}/lcrso/vsf_quorum.lcrso
%{_libexecdir}/lcrso/vsf_ykd.lcrso
%dir %{_localstatedir}/lib/corosync
%dir %{_localstatedir}/log/cluster
%{_mandir}/man8/corosync_overview.8*
%{_mandir}/man8/corosync.8*
%{_mandir}/man8/corosync-blackbox.8*