Refactor logging error and add some modifications in add_options() function.
Refactor logging error and add some modifications in add_options() function.


Former-commit-id: 0c37fd4caea71b002c99c714ed65b8aae0002d7b
kmuzalewska/j-pet-framework,kmuzalewska/j-pet-framework,kmuzalewska/j-pet-framework,kmuzalewska/j-pet-framework,kmuzalewska/j-pet-framework