iPhone 4 won't charge
Had you previously disassembled or repaired the phone prior to it stopping charging? Why not take it into an Apple Store to get them to fix it?

Assuming you've not made a mistake in your repairs between the battery and the dock connector, yes, it's probably the logic board.