move the logger to a file

i think that logging the unidentified agent string to a file give us valuable informations