The FileHandler class from java.util.logging implements some sort of locking mechanism for the file it is writing to. However i found that there a .lck files lying around in the filesystem after an application is finished. Is there a way to customize the behaviour of the FileHandler class with respect to .lck files or the whole locking mechanism?
EDIT: It seems that when I close the FileHandler object the .lck files vanish. Is this wanted behaviour? I somehow expected that the FileHandler's close method should be called automatically...