modified:   logger.java
        test with juniper devices, mofified a little