example of logging init.d scripts