With multiple passports the the best rule to follow is to enter and exit a country with the same passport.
Always use the passport with least immigration/visa hassle.
It's no problem to leave a country under one passport and enter the next country on a different one.
Just make sure you keep track of which one you're using, and watch-out for any multiple entry restrictions.
Normally changing passports 'in country' is No No