Add appname for logging