The experience bar says "You can get into a rested state by loging out in a cantina" or something to that effect.
I gain rested by logging out, not loging out. I reported this bug in beta and I'm sad to see it's still there in such an otherwise high quality MMO.