Added some logger from Java file with-in method