I had the same problem. As I am an EE, I have developed a flask with some electronics that automatically detects the amount of water in it and the amount I've been drinking. This information is reported to my iPhone and there I keep my drinking log. The APP also reminds me to drink should I am falling behind my target.
Now my wife wants one too