Another tip for a physical notebook: starting from the back, keep a running table of contents referring to notes pages or dates. Log really important stuff, or everything, according to taste.
evernote can be addictive; however it mangles code bits<p>I use a text editor along side with the IDE so I can add notes as I code;the same way as physical notebook but I can paste code bits in there