instead of ./zeta.sh >> /var/log/zetagrid.log >2&1 it should be ./zeta.sh >> /var/log/zetagrid.log 2>&1 I think. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Thanks, i fixed it.
The problem is, that if the logfile /var/log/zeatgrid.log is added to a logrotate programm like /etc/cron.daily/syslog.cron and zetagrid.log was moved to zetagrid.log.0 while zetagrid is running, the programm zetagrid is now writing to zetagrid.log.0 instead of zetagrid.log.
So at the next restart it would write to zetagrid.log again? If this is the case i think everything is as it should be. Or do you have a better solution for this issue?
Yes, after a restart of zetagrid the file handle points to the right logfile. The best solution IMHO is to have a logging facility in zetagrid itself, which will open and close the file handle only for the time a string has to be written. Maybe this is a wish to the author of zetagrid ?
Yes, i think we should add the zetagrid author to this bug. But i can't find his e-mail-address. Maybe you have more luck.
"Sebastian Wedeniwski" <WEDENIWS@de.ibm.com>
Tried to add his adress as CC to this bug. Had no success. Would be great if you could write him a mail including a link to this bug.
done