How to create log file in an existing directory ?..I have tried out this code:

```
String fileName = "/log/ABC.log";
FileHandler fileHandler = new FileHandler(fileName, true);

```

But it is not working.Here log is the directory...