Updating logging format and logging levels and replacing userid in logs with its hash