My Logging Best Practices (2020)
> Log after, not beforeMy problem with that is what if the program crashes or produces an error. It's good to know what the program was attempting to do.Imagine the output    Successfully connected to DB.
    Successfully read config file. 
    Uncaught Exception: NullPointerException

vs.    Will connect to DB...
    Will read config file...
    Will connect to API server...
    Uncaught Exception: NullPointerException