logging and wgetjava work