On login information which identifies your computer on the internet will be logged to prevent abuse (like many attempts to guess a password in order to hack an account or creation of many accounts to cause trouble).
Furthermore all events and actions that happen within the game-world (like solving quests, attacking monsters) are logged. This information is used to analyse bugs and in rare cases for abuse handling.