[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

redirecting stdout/stderr inside a script



Hi!

I would like to log /etc/init.d/* program execution (start, stop, reload, ...)

I think I good way to achieve it is to redirect stdout/stderr before
any "original" command of the /etc/init.d/ script is made.

How can I make this?
Do you think It can be made in a better way? How?
Why is not logged by default?

	Any comment will be greatly appreciated
	
			Regards
				
					Ulisses
			





--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: