use basename
logging forwarded ip