func PrimeLogFile(path string) error {
	f, err := os.OpenFile(path, os.O_CREATE|os.O_WRONLY, LogfilePermission)
	if err != nil {
		return errors.Trace(err)
	}
	if err := f.Close(); err != nil {
		return errors.Trace(err)
	}
	return SetSyslogOwner(path)
}
// PrimeLogFile ensures that the given log file is created with the
// correct mode and ownership.
PrimeLogFile ensures that the given log file is created with the
correct mode and ownership.
// PrimeLogFile ensures that the given log file is created with the // correct mode and ownership .
func PrimeLogFile(path string) error {
	f, err := os.OpenFile(path, os.O_CREATE|os.O_WRONLY, LogfilePermission)
	if err != nil {
		return errors.Trace(err)
	}
	if err := f.Close(); err != nil {
		return errors.Trace(err)
	}
	return SetSyslogOwner(path)
}
func PrimeLogFile ( path string ) error { f , err := os . OpenFile ( path , os . O_CREATE | os . O_WRONLY , LogfilePermission ) if err != nil { return errors . Trace ( err ) } if err := f . Close ( ) ; err != nil { return errors . Trace ( err ) } return SetSyslogOwner ( path ) }
PrimeLogFile ensures that the given log file is created with the
correct mode and ownership.
PrimeLogFile ensures that the given log file is created with the correct mode and ownership .