Komodo stores preferences, macros, templates, keybinding schemes and other settings in a user-specific directory called the user data directory. The name and location of this directory varies depending on the operating system and Komodo version:
The location of this directory can be overridden using the
KOMODO_USERDATADIR environment variable.
Komodo logs its errors in a file called
pystderr.log which resides within your user data folder described above.
note that this file is truncated each time Komodo restarts.