Use initialize method in application class. Call setup from it.
Use instance variable in logger output.
Explicitly set the environment to development.