Posts

Showing posts from August, 2013

java.util.logging - Bad level value for property: org.openqa.level

Bad level value for property: some.package.name.level

    The above error is produced by java.util.logging.LogManager when the log level is invalid. for eg. you might have specified a log level of DEBUG and DEBUG is not a valid log level in java.util.logging.

org.openqa.level=DEBUG

    Valid log levels in java.util.logging are SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL, OFF

    Correct usage is
org.openqa.level=FINE

Fast Git clone using shallow cloning

If you want to get a read only copy of a Git repository quickly you can do a shallow clone. To make a shallow clone use argument --depth 1 along with git command line version.

git clone https://code.google.com/p/selenium/  --depth 1

When doing a shallow clone with depth of 1, it tells Git to fetch only latest revision of a repository. Normal clone fetches entire history of a Git repository. As per Git documentation, you cannot clone or fetch from it, nor push from nor into it.

Shallow clone is useful when you have a slow network connection or you want to save on the network usage.