logging: Add logging when loading system functions
logging: Add logging when loading system functions

Also fix some whitespace errors

anoopcs9/socket_wrapper,jhrozek/socket_wrapper,anoopcs9/socket_wrapper,jhrozek/socket_wrapper