I can't find a log out button after I created my Ubuntu Stack Exchange account.
After the topbar redesign, the login link has moved to the Stack Exchange icon on the right side:
You can also just click this handy link to log out.
This answer is no longer accurate since the site has been redesigned. Please see here instead.
The log out button in under the StackExchange drop down at the top left of the page.