changed logger to standard java logger