Now fields for connection to DB are read from properties file.

Now fields for connection to DB are read from properties file.
Changed location of log file.
Now log file will be created every day.