Ninja logging is never ok. Don't be a coward. Have some spine, and just say that things aren't working out and leave instead. If you ninja log, it'll just leave the other people in the raid waiting for 5-20 minutes wondering if you just had a temporary disconnection. If you fake a DC, you're wasting the time of many people just because you're afraid of confrontations.