adding millisecs to log pattern
cleaning up some datetime stuff
logging
logging stuff