gitignore file + log4j.properties + error catching (still testing)

Ignoring some files and directories. Figuring out while connection drops
(or what drops)