Exception logging is disabled by default. To enable it edit the communityserver.config in the root of your web site in a plain text editor like Notepad.
Procedure
enableExceptionLogging = "false"
enableExceptionLogging = "true"
In order for the change to take effect you must touch the web.config file.