What you choose to log is entirely up to your personal preference, there are no 'regulations' or 'accepted practice' when it comes to this.
Personally I don't log any pool dives since I just see them as training sessions and are not part of my 'diving history' that I see any need to recall at a later date.
I log all open water dives, I don't set any time limit on what constitutes a logged dive. With due respect to the choice of the previous poster who chooses to log only dives greater than 20 min I cannot for the life of me figure out why you wouldn't log a dive of, say, 15 mins while you would log one of 20. I have done dives that have been quite short but nevertheless significant in some way and definitely dives that I would want to remember.
I do a lot of quite shallow dives since I have an area only 5 mins drive from home that provides very good, but shallow, diving. Many of my logged dives are around 3-4 m (10 - 13 ft). These are great dives and I definitely want to log them - if I applied the "greater than 20ft concept" I would probably 'lose' about 60% of my annual logged dives. Seems ridiculous to me!
I do however agree that if I did a very short dive, say of only a couple of minutes, for no other purpose than recovering a rod some fisherman had droped over the side of a pier I would probably not log it. However if something of significance happened while I was down there that was worthy of note I probably would log it (eg a great white swims past!!) Or maybe I may have to abort a dive early on and the reason I had to abort is of significance and something I want to record as a learning experience - so I would log it.
As I said, it all comes down to personal choice - its your logbook so you can put anything in it that you want!