I use a hub generator headlight for commuting, I kept it on the bike for my last tour and it was great. No batteries to worry about, just flip a switch and you have light. A lot of new ones have a standlight that will keep shining for a while after you stop at a stop sign or traffic light. There are LED headlights that will work with a hub generator, but the halogen bulb lights are still a bit brighter and lots cheaper.
Check out
Peter White Cycles for lots of info about generator lights.